import { RawBodyRequest } from '@nestjs/common';
import { PaymentsService } from './payments.service';
import { CreatePaymentProductDto } from './dto/create-payment-product.dto';
import { UpdatePaymentProductDto } from './dto/update-payment-product.dto';
import { CreateOrderDto } from './dto/create-order.dto';
import { VerifyPaymentDto } from './dto/verify-payment.dto';
import { FilterPaymentsDto } from './dto/filter-payments.dto';
import { Request } from 'express';
export declare class PaymentsController {
    private readonly svc;
    constructor(svc: PaymentsService);
    createProduct(dto: CreatePaymentProductDto): Promise<import("./schemas/payment-product.schema").PaymentProduct & import("mongoose").Document<unknown, any, any, Record<string, any>> & Required<{
        _id: string;
    }>>;
    getAllProducts(): import("mongoose").Query<(import("mongoose").FlattenMaps<import("./schemas/payment-product.schema").PaymentProductDocument> & Required<{
        _id: string;
    }>)[], import("mongoose").Document<unknown, {}, import("./schemas/payment-product.schema").PaymentProductDocument, {}> & import("./schemas/payment-product.schema").PaymentProduct & import("mongoose").Document<unknown, any, any, Record<string, any>> & Required<{
        _id: string;
    }>, {}, import("./schemas/payment-product.schema").PaymentProductDocument, "find", {}>;
    getProduct(id: string): import("mongoose").Query<(import("mongoose").FlattenMaps<import("./schemas/payment-product.schema").PaymentProductDocument> & Required<{
        _id: string;
    }>) | null, import("mongoose").Document<unknown, {}, import("./schemas/payment-product.schema").PaymentProductDocument, {}> & import("./schemas/payment-product.schema").PaymentProduct & import("mongoose").Document<unknown, any, any, Record<string, any>> & Required<{
        _id: string;
    }>, {}, import("./schemas/payment-product.schema").PaymentProductDocument, "findOne", {}>;
    updateProduct(id: string, dto: UpdatePaymentProductDto): Promise<import("mongoose").FlattenMaps<import("./schemas/payment-product.schema").PaymentProductDocument> & Required<{
        _id: string;
    }>>;
    deleteProduct(id: string): Promise<{
        deleted: boolean;
    }>;
    listPayments(q: FilterPaymentsDto): Promise<(import("mongoose").FlattenMaps<import("./schemas/payment.schema").PaymentDocument> & Required<{
        _id: string;
    }>)[]>;
    getAvailable(studentId: string): Promise<{
        myPayment: import("./schemas/payment.schema").PaymentDocument | null;
        name: string;
        description?: string | undefined;
        type?: "tuition" | "exam" | "transport" | "other" | undefined;
        currency: "INR";
        amount: number;
        academicYearId: string;
        classId: string;
        isActive: boolean;
        _id: string;
        __v: number;
        createdAt?: Date | undefined;
        updatedAt?: Date | undefined;
        $assertPopulated: <Paths = {}>(path: string | string[], values?: Partial<Paths> | undefined) => Omit<import("./schemas/payment-product.schema").PaymentProductDocument, keyof Paths> & Paths;
        $clearModifiedPaths: () => import("./schemas/payment-product.schema").PaymentProductDocument;
        $clone: () => import("./schemas/payment-product.schema").PaymentProductDocument;
        $createModifiedPathsSnapshot: () => import("mongoose").ModifiedPathsSnapshot;
        $getAllSubdocs: () => import("mongoose").Document[];
        $ignore: (path: string) => void;
        $isDefault: (path: string) => boolean;
        $isDeleted: (val?: boolean) => boolean;
        $getPopulatedDocs: () => import("mongoose").Document[];
        $inc: (path: string | string[], val?: number) => import("./schemas/payment-product.schema").PaymentProductDocument;
        $isEmpty: (path: string) => boolean;
        $isValid: (path: string) => boolean;
        $locals: import("mongoose").FlattenMaps<Record<string, unknown>>;
        $markValid: (path: string) => void;
        $model: {
            <ModelType = import("mongoose").Model<unknown, {}, {}, {}, import("mongoose").Document<unknown, {}, unknown, {}> & {
                _id: import("mongoose").Types.ObjectId;
            } & {
                __v: number;
            }, any>>(name: string): ModelType;
            <ModelType = import("mongoose").Model<any, {}, {}, {}, any, any>>(): ModelType;
        };
        $op: "save" | "validate" | "remove" | null;
        $restoreModifiedPathsSnapshot: (snapshot: import("mongoose").ModifiedPathsSnapshot) => import("./schemas/payment-product.schema").PaymentProductDocument;
        $session: (session?: import("mongoose").ClientSession | null) => import("mongoose").ClientSession | null;
        $set: {
            (path: string | Record<string, any>, val: any, type: any, options?: import("mongoose").DocumentSetOptions): import("./schemas/payment-product.schema").PaymentProductDocument;
            (path: string | Record<string, any>, val: any, options?: import("mongoose").DocumentSetOptions): import("./schemas/payment-product.schema").PaymentProductDocument;
            (value: string | Record<string, any>): import("./schemas/payment-product.schema").PaymentProductDocument;
        };
        $where: import("mongoose").FlattenMaps<Record<string, unknown>>;
        baseModelName?: string | undefined;
        collection: import("mongoose").Collection;
        db: import("mongoose").FlattenMaps<import("mongoose").Connection>;
        deleteOne: (options?: import("mongoose").QueryOptions) => any;
        depopulate: <Paths = {}>(path?: string | string[]) => import("mongoose").MergeType<import("./schemas/payment-product.schema").PaymentProductDocument, Paths>;
        directModifiedPaths: () => Array<string>;
        equals: (doc: import("mongoose").Document<unknown, any, any, Record<string, any>>) => boolean;
        errors?: import("mongoose").Error.ValidationError | undefined;
        get: {
            <T extends string | number | symbol>(path: T, type?: any, options?: any): any;
            (path: string, type?: any, options?: any): any;
        };
        getChanges: () => import("mongoose").UpdateQuery<import("./schemas/payment-product.schema").PaymentProductDocument>;
        id?: any;
        increment: () => import("./schemas/payment-product.schema").PaymentProductDocument;
        init: (obj: import("mongoose").AnyObject, opts?: import("mongoose").AnyObject) => import("./schemas/payment-product.schema").PaymentProductDocument;
        invalidate: {
            <T extends string | number | symbol>(path: T, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
            (path: string, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
        };
        isDirectModified: {
            <T extends string | number | symbol>(path: T | T[]): boolean;
            (path: string | Array<string>): boolean;
        };
        isDirectSelected: {
            <T extends string | number | symbol>(path: T): boolean;
            (path: string): boolean;
        };
        isInit: {
            <T extends string | number | symbol>(path: T): boolean;
            (path: string): boolean;
        };
        isModified: {
            <T extends string | number | symbol>(path?: T | T[] | undefined, options?: {
                ignoreAtomics?: boolean;
            } | null): boolean;
            (path?: string | Array<string>, options?: {
                ignoreAtomics?: boolean;
            } | null): boolean;
        };
        isNew: boolean;
        isSelected: {
            <T extends string | number | symbol>(path: T): boolean;
            (path: string): boolean;
        };
        markModified: {
            <T extends string | number | symbol>(path: T, scope?: any): void;
            (path: string, scope?: any): void;
        };
        model: {
            <ModelType = import("mongoose").Model<unknown, {}, {}, {}, import("mongoose").Document<unknown, {}, unknown, {}> & {
                _id: import("mongoose").Types.ObjectId;
            } & {
                __v: number;
            }, any>>(name: string): ModelType;
            <ModelType = import("mongoose").Model<any, {}, {}, {}, any, any>>(): ModelType;
        };
        modifiedPaths: (options?: {
            includeChildren?: boolean;
        }) => Array<string>;
        overwrite: (obj: import("mongoose").AnyObject) => import("./schemas/payment-product.schema").PaymentProductDocument;
        $parent: () => import("mongoose").Document | undefined;
        populate: {
            <Paths = {}>(path: string | import("mongoose").PopulateOptions | (string | import("mongoose").PopulateOptions)[]): Promise<import("mongoose").MergeType<import("./schemas/payment-product.schema").PaymentProductDocument, Paths>>;
            <Paths = {}>(path: string, select?: string | import("mongoose").AnyObject, model?: import("mongoose").Model<any>, match?: import("mongoose").AnyObject, options?: import("mongoose").PopulateOptions): Promise<import("mongoose").MergeType<import("./schemas/payment-product.schema").PaymentProductDocument, Paths>>;
        };
        populated: (path: string) => any;
        replaceOne: (replacement?: import("mongoose").AnyObject, options?: import("mongoose").QueryOptions | null) => import("mongoose").Query<any, import("./schemas/payment-product.schema").PaymentProductDocument, {}, unknown, "find", Record<string, never>>;
        save: (options?: import("mongoose").SaveOptions) => Promise<import("./schemas/payment-product.schema").PaymentProductDocument>;
        schema: import("mongoose").FlattenMaps<import("mongoose").Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
            [x: string]: unknown;
        }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
            [x: string]: unknown;
        }>, {}> & import("mongoose").FlatRecord<{
            [x: string]: unknown;
        }> & Required<{
            _id: unknown;
        }> & {
            __v: number;
        }>>;
        set: {
            <T extends string | number | symbol>(path: T, val: any, type: any, options?: import("mongoose").DocumentSetOptions): import("./schemas/payment-product.schema").PaymentProductDocument;
            (path: string | Record<string, any>, val: any, type: any, options?: import("mongoose").DocumentSetOptions): import("./schemas/payment-product.schema").PaymentProductDocument;
            (path: string | Record<string, any>, val: any, options?: import("mongoose").DocumentSetOptions): import("./schemas/payment-product.schema").PaymentProductDocument;
            (value: string | Record<string, any>): import("./schemas/payment-product.schema").PaymentProductDocument;
        };
        toJSON: {
            (options: import("mongoose").ToObjectOptions & {
                virtuals: true;
            }): any;
            (options?: import("mongoose").ToObjectOptions & {
                flattenMaps?: true;
                flattenObjectIds?: false;
            }): import("mongoose").FlattenMaps<any>;
            (options: import("mongoose").ToObjectOptions & {
                flattenObjectIds: false;
            }): import("mongoose").FlattenMaps<any>;
            (options: import("mongoose").ToObjectOptions & {
                flattenObjectIds: true;
            }): {
                [x: string]: any;
            };
            (options: import("mongoose").ToObjectOptions & {
                flattenMaps: false;
            }): any;
            (options: import("mongoose").ToObjectOptions & {
                flattenMaps: false;
                flattenObjectIds: true;
            }): any;
            <T = any>(options?: import("mongoose").ToObjectOptions & {
                flattenMaps?: true;
                flattenObjectIds?: false;
            }): import("mongoose").FlattenMaps<T>;
            <T = any>(options: import("mongoose").ToObjectOptions & {
                flattenObjectIds: false;
            }): import("mongoose").FlattenMaps<T>;
            <T = any>(options: import("mongoose").ToObjectOptions & {
                flattenObjectIds: true;
            }): import("mongoose").ObjectIdToString<import("mongoose").FlattenMaps<T>>;
            <T = any>(options: import("mongoose").ToObjectOptions & {
                flattenMaps: false;
            }): T;
            <T = any>(options: import("mongoose").ToObjectOptions & {
                flattenMaps: false;
                flattenObjectIds: true;
            }): import("mongoose").ObjectIdToString<T>;
        };
        toObject: {
            (options: import("mongoose").ToObjectOptions & {
                virtuals: true;
            }): any;
            (options?: import("mongoose").ToObjectOptions): any;
            <T>(options?: import("mongoose").ToObjectOptions): import("mongoose").Default__v<import("mongoose").Require_id<T>>;
        };
        unmarkModified: {
            <T extends string | number | symbol>(path: T): void;
            (path: string): void;
        };
        updateOne: (update?: import("mongoose").UpdateWithAggregationPipeline | import("mongoose").UpdateQuery<import("./schemas/payment-product.schema").PaymentProductDocument> | undefined, options?: import("mongoose").QueryOptions | null) => import("mongoose").Query<any, import("./schemas/payment-product.schema").PaymentProductDocument, {}, unknown, "find", Record<string, never>>;
        validate: {
            <T extends string | number | symbol>(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): Promise<void>;
            (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): Promise<void>;
            (options: {
                pathsToSkip?: import("mongoose").pathsToSkip;
            }): Promise<void>;
        };
        validateSync: {
            (options: {
                pathsToSkip?: import("mongoose").pathsToSkip;
                [k: string]: any;
            }): import("mongoose").Error.ValidationError | null;
            <T extends string | number | symbol>(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
            (pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
        };
    }[]>;
    createOrder(studentId: string, body: CreateOrderDto): Promise<{
        orderId: string;
        amount: number;
        currency: "INR";
        keyId: string | undefined;
        paymentId: string | null;
        localPaymentId: string;
    } | {
        orderId: string;
        amount: string | number;
        currency: string;
        keyId: string | undefined;
        paymentId: null;
        localPaymentId: string;
    }>;
    verifyPayment(studentId: string, dto: VerifyPaymentDto): Promise<{
        status: string;
        paymentId: string | undefined;
        orderId: string | undefined;
    }>;
    myPayments(studentId: string): Promise<(import("mongoose").FlattenMaps<import("./schemas/payment.schema").PaymentDocument> & Required<{
        _id: string;
    }>)[]>;
    webhook(req: RawBodyRequest<Request>): Promise<{
        received: boolean;
    }>;
}
