export declare const jsonToQueryString: (params: Record<string, any>) => string;
export declare const ObjectId: () => string;
export type Config = {
    token: string;
    env: "prod" | "staging";
    hosts: {
        MAIN: string;
        WALLET: string;
    };
    auth: {
        username: string;
        password: string;
    };
    logger: boolean;
};
export declare const config: Config;
export declare const setHost: ({ MAIN, WALLET }: {
    MAIN: string;
    WALLET: string;
}, ENV: "staging" | "prod") => void;
export declare const setLogger: (status: boolean) => void;
declare const _default: {
    auth: {
        TOKEN: (auth: {
            username: string;
            password: string;
        }) => Promise<string>;
    };
    ObjectId: () => string;
    notification: {
        SinglePushNoti: (body: {
            user_id: number;
            target_app: "AVDAR-STORE" | "AUTH-APP";
            body: {
                title: string;
                body: string;
                icon: string;
                image?: string;
                button?: {
                    title: string;
                    url: string;
                } | null;
            };
        }) => Promise<{
            success: boolean;
            data: null;
            message: string;
        }>;
        SMS: (body: {
            text: string;
            to: string;
            from: string;
        }) => Promise<{
            success: boolean;
            data: null;
            message: string;
        }>;
        MAIL: (body: {
            type: "notification" | "otp" | "custom";
            form?: {
                name?: string;
                email?: string;
            };
            to: string[];
            subject: string;
            body: {
                name: string;
                title?: string;
                desc?: string;
                otp?: string | number;
                button?: {
                    text: string;
                    url: string | null;
                };
                footer_text?: string;
            };
        }) => Promise<{
            success: boolean;
            data: null;
            message: string;
        }>;
        _3RD: {
            TOKI: (body: {
                accountId: string;
                title: string;
                body: string;
                url: string;
                buttonName: string;
                imageURL?: string;
                icon: string;
            }) => Promise<{
                success: boolean;
                data: null;
                message: string;
            }>;
            HIPAY: (body: {
                customerId: string;
                message: string;
            }) => Promise<{
                success: boolean;
                data: null;
                message: string;
            }>;
        };
    };
    socket: {
        ShowToast: (body: {
            user_id: number;
            type: "info" | "warning";
            text: string;
        }) => Promise<{
            success: boolean;
            data: null;
            message: string;
        }>;
        ShowStatus: (body: {
            user_id: number;
            id: string;
            type?: "Loading" | "Success" | "Failure";
            title?: string;
            amount?: number | string;
            desc?: string;
            footer?: {
                text: string;
                buttons: {
                    text: string;
                    fun: "href" | "close" | "exit";
                    href?: string | null;
                }[];
            };
            show?: boolean;
            expired_date?: Date;
            start_date?: Date;
        }) => Promise<{
            success: boolean;
            data: null;
            message: string;
        }>;
        ShowOrderStatus: (body: {
            user_id: number;
            order_id: string;
        }) => Promise<{
            success: boolean;
            data: null;
            message: string;
        }>;
    };
    find: {
        USER: (body: {
            _id?: string;
            user_id?: number;
            user_name?: string;
            nick_name?: string;
            exp?: number;
            primary_email?: string;
            primary_phone?: string;
            emails?: Array<{
                email: string;
                verified: boolean;
                primary: boolean;
            }>;
            phone_numbers?: Array<{
                number: string;
                verified: boolean;
                primary: boolean;
            }>;
            auth_profiles?: {
                facebook_id?: string;
                google_id?: string;
                steam_id?: string;
                apple_id?: string;
                twitter_id?: string;
                monpay_id?: string;
                toki_id?: string;
                social_id?: string;
                hipay_id?: string;
                digi_id?: string;
            };
            profile_image_url?: string;
            date_of_birth?: Date;
            gender?: "MEN" | "WOMEN";
            sign_up_date?: Date;
            last_login?: Date;
            wallet_id?: string;
            wallet_key?: string;
            preferences?: {
                language?: string;
                notifications?: boolean;
            };
            status?: {
                is_active?: boolean;
                is_banned?: boolean;
                verified?: boolean;
            };
            security?: {
                password_hash?: string;
                two_factor_enabled?: boolean;
                last_password_change?: Date;
            };
            verify_info?: {
                first_name?: string;
                last_name?: string;
                born_date?: Date;
                national_id?: string;
            };
            dynamic_info?: {
                [key: string]: any;
            };
            apps?: {
                app_name: string;
                app_id: string;
                device_id: string;
            }[];
            createdAt?: Date;
            updatedAt?: Date;
        }) => Promise<{
            success: boolean;
            data: {
                _id?: string;
                user_id?: number;
                user_name?: string;
                nick_name?: string;
                exp?: number;
                primary_email?: string;
                primary_phone?: string;
                emails?: Array<{
                    email: string;
                    verified: boolean;
                    primary: boolean;
                }>;
                phone_numbers?: Array<{
                    number: string;
                    verified: boolean;
                    primary: boolean;
                }>;
                auth_profiles?: {
                    facebook_id?: string;
                    google_id?: string;
                    steam_id?: string;
                    apple_id?: string;
                    twitter_id?: string;
                    monpay_id?: string;
                    toki_id?: string;
                    social_id?: string;
                    hipay_id?: string;
                    digi_id?: string;
                };
                profile_image_url?: string;
                date_of_birth?: Date;
                gender?: "MEN" | "WOMEN";
                sign_up_date?: Date;
                last_login?: Date;
                wallet_id?: string;
                wallet_key?: string;
                preferences?: {
                    language?: string;
                    notifications?: boolean;
                };
                status?: {
                    is_active?: boolean;
                    is_banned?: boolean;
                    verified?: boolean;
                };
                security?: {
                    password_hash?: string;
                    two_factor_enabled?: boolean;
                    last_password_change?: Date;
                };
                verify_info?: {
                    first_name?: string;
                    last_name?: string;
                    born_date?: Date;
                    national_id?: string;
                };
                dynamic_info?: {
                    [key: string]: any;
                };
                apps?: {
                    app_name: string;
                    app_id: string;
                    device_id: string;
                }[];
                createdAt?: Date;
                updatedAt?: Date;
            }[];
            message: string;
        }>;
        MERCHANT: (body: {
            _id?: string;
            user_id: number;
            user_name?: string;
            phone_number?: string;
            user_role?: "merchant" | "sub-merchant";
            avatar?: string;
            authority?: string[];
            user_email?: string;
            password?: string;
            show_router?: string[];
            show_id?: string[];
            merchant: {
                toki_id: string;
                hipay: string;
            };
            wallet_id?: string;
            wallet_key?: string;
            delFlg?: boolean;
            createdAt?: Date;
            updatedAt?: Date;
        }) => Promise<{
            success: boolean;
            data: {
                _id?: string;
                user_id: number;
                user_name?: string;
                phone_number?: string;
                user_role?: "merchant" | "sub-merchant";
                avatar?: string;
                authority?: string[];
                user_email?: string;
                password?: string;
                show_router?: string[];
                show_id?: string[];
                merchant: {
                    toki_id: string;
                    hipay: string;
                };
                wallet_id?: string;
                wallet_key?: string;
                delFlg?: boolean;
                createdAt?: Date;
                updatedAt?: Date;
            }[];
            message: string;
        }>;
        ADMIN: (body: {
            _id?: string;
            user_id?: number;
            user_name?: string;
            phone_number?: number;
            user_role?: "admin" | "sub-admin" | "super-admin";
            avatar?: string;
            authority?: string[];
            user_email?: string;
            password?: string;
            show_router?: string[];
            show_id?: string[];
            delFlg?: boolean;
            createdAt?: Date;
            updatedAt?: Date;
        }) => Promise<{
            success: boolean;
            data: {
                _id?: string;
                user_id?: number;
                user_name?: string;
                phone_number?: number;
                user_role?: "admin" | "sub-admin" | "super-admin";
                avatar?: string;
                authority?: string[];
                user_email?: string;
                password?: string;
                show_router?: string[];
                show_id?: string[];
                delFlg?: boolean;
                createdAt?: Date;
                updatedAt?: Date;
            }[];
            message: string;
        }>;
        CLIENT: (body: {
            _id?: string;
            user_id?: number;
            user_name?: string;
            phone_number?: number;
            user_role?: "crm" | "sub-crm";
            avatar?: string;
            authority?: string[];
            user_email?: string;
            password?: string;
            show_router?: string[];
            show_id?: string[];
            RefundFun?: boolean;
            delFlg?: boolean;
            createdAt?: Date;
            updatedAt?: Date;
        }) => Promise<{
            success: boolean;
            data: {
                _id?: string;
                user_id?: number;
                user_name?: string;
                phone_number?: number;
                user_role?: "crm" | "sub-crm";
                avatar?: string;
                authority?: string[];
                user_email?: string;
                password?: string;
                show_router?: string[];
                show_id?: string[];
                RefundFun?: boolean;
                delFlg?: boolean;
                createdAt?: Date;
                updatedAt?: Date;
            }[];
            message: string;
        }>;
        CRM: (body: {
            _id?: string;
            user_id?: number;
            user_name?: string;
            phone_number?: number;
            user_role?: "crm" | "sub-crm";
            avatar?: string;
            authority?: string[];
            user_email?: string;
            password?: string;
            show_router?: string[];
            show_id?: string[];
            RefundFun?: boolean;
            delFlg?: boolean;
            createdAt?: Date;
            updatedAt?: Date;
        }) => Promise<{
            success: boolean;
            data: {
                _id?: string;
                user_id?: number;
                user_name?: string;
                phone_number?: number;
                user_role?: "crm" | "sub-crm";
                avatar?: string;
                authority?: string[];
                user_email?: string;
                password?: string;
                show_router?: string[];
                show_id?: string[];
                RefundFun?: boolean;
                delFlg?: boolean;
                createdAt?: Date;
                updatedAt?: Date;
            }[];
            message: string;
        }>;
    };
};
export default _default;
export { default as notification } from "./notification";
export { default as socket } from "./socket";
export { default as find } from "./find";
