import { AppConfig, ExcelConfig, PdfConfig } from '../types';
export declare class App {
    static config: AppConfig;
    static deleteConfig: AppConfig;
    static updateConfig: AppConfig;
    static pdfConfig: PdfConfig;
    static excelConfig: ExcelConfig;
    static beforeSuccessHandler?: undefined | ((op: AppConfig, res: Record<string, any>) => void);
    static successHandler?: undefined | ((op: AppConfig, res: Record<string, any>) => void);
    static afterSuccessHandler?: undefined | ((op: AppConfig, res: Record<string, any>) => void);
    protected static boot(config: AppConfig): void;
    protected static bootPlugin(): void;
    protected static bootTable(): void;
    static table<T extends typeof App>(this: T, config: AppConfig): T;
    static request<T extends typeof App>(this: T, config: AppConfig): T;
    static submit<T extends typeof App>(this: T, config: AppConfig): T;
    static create<T extends typeof App>(this: T, config: AppConfig): T;
    static update<T extends typeof App>(this: T, config: AppConfig): T;
    static destroy<T extends typeof App>(this: T, config: AppConfig): T;
    static bulkUpdate<T extends typeof App>(this: T, config: AppConfig): T;
    static bulkDelete<T extends typeof App>(this: T, config: AppConfig): T;
    static downloadPdf<T extends typeof App>(this: T, config: PdfConfig): T;
    static downloadExcel<T extends typeof App>(this: T, config: ExcelConfig): T;
    static beforeSuccess<T extends typeof App>(this: T, callback: (op: AppConfig, res: unknown) => void): T;
    static success<T extends typeof App>(this: T, callback: (op: AppConfig, res: unknown) => void): T;
    static onSuccess<T extends typeof App>(this: T, callback: (op: AppConfig, res: unknown) => void): T;
    static afterSuccess<T extends typeof App>(this: T, callback: (op: AppConfig, res: unknown) => void): T;
    static plugin<T extends typeof App>(this: T, config: AppConfig): T;
    static legacy<T extends typeof App>(this: T, config: AppConfig, callback: Function): T;
}
//# sourceMappingURL=app.d.ts.map