export declare class DataController {
    private module;
    constructor(module: string);
    getAll(): Promise<any>;
    getProperties(): Promise<any>;
    buildIndex(properties: {
        [p: string]: string;
    }): Promise<any>;
    aggregateList(options: {
        page?: number;
        size?: number;
        searchRaw?: string;
        filter?: string;
        sortby?: Array<{
            prop: string;
            direction?: "ASC" | "DESC";
        }>;
        returns?: Array<string>;
        exact?: boolean;
    }): Promise<any>;
    patternList(options: {
        page?: number;
        size?: number;
        searchRaw?: string;
        filter?: string;
        sortby?: Array<{
            prop: string;
            direction?: "ASC" | "DESC";
        }>;
        exact?: boolean;
        pattern?: {
            returns: Array<string>;
            [p: string]: Array<string> | {
                searchRaw?: string;
                reducers: string;
            } | {
                searchRaw?: string;
                reducers: string;
            }[];
        };
    }): Promise<any>;
    group(options: {
        searchRaw?: string;
        reducers: string;
    }): Promise<any>;
    getListSimple({ query, ...options }: {
        page?: number;
        size?: number;
        query?: string;
        returns?: Array<string>;
        sortby?: {
            BY: string;
            DIRECTION?: "ASC" | "DESC";
        };
        exact?: boolean;
    }): Promise<any>;
    getById(id: string): Promise<any>;
    getByListId(ids: Array<string>): Promise<any>;
    add(data: Array<{
        [p: string]: any;
    }>, type?: string): Promise<any>;
    edit(data: Array<{
        [p: string]: any;
    }>, type?: string): Promise<any>;
    duplicate(ids: Array<string>): Promise<any>;
    delete(ids: Array<string>): Promise<any>;
    checkotp(idToken: string): Promise<any>;
}
export declare class SettingDataController {
    private setting;
    constructor(setting: "chart" | "form" | "card" | "view");
    action(action: "add" | "edit" | "delete", options: {
        data?: Array<{
            [p: string]: any;
        }>;
        ids?: Array<string>;
    }): Promise<any>;
    getListSimple({ query, ...options }: {
        page?: number;
        size?: number;
        query?: string;
        returns?: Array<string>;
        sortby?: {
            BY: string;
            DIRECTION?: "ASC" | "DESC";
        };
        exact?: boolean;
    }): Promise<any>;
    group(options: {
        searchRaw?: string;
        reducers: string;
    }): Promise<any>;
    getByIds(ids: Array<string>): Promise<any>;
    static searchSetting({ query, ...options }: {
        page?: number;
        size?: number;
        query?: string;
        returns?: Array<string>;
        sortby?: {
            BY: string;
            DIRECTION?: "ASC" | "DESC";
        };
    }): Promise<any>;
}
export declare class AccountController {
    private module;
    constructor(module?: "Customer" | "User");
    login(body: {
        type: "phone" | "apple" | "google" | "microsoft" | "account";
        token?: string;
        deviceToken?: string;
        ggClientId?: string;
        phone?: string;
        password?: string;
        email?: string;
        username?: string;
    }): Promise<any>;
    logout(): Promise<any>;
    getInfor(): Promise<any>;
    checkPassword(body: {
        phone?: string;
        password?: string;
        email?: string;
        username?: string;
    }): Promise<any>;
    hashPassword(password: string): Promise<any>;
}
//# sourceMappingURL=data.d.ts.map