import { Observable } from 'rxjs';
import { ValueOf } from 'ts-essentials';
export declare const DeleteType: {
    readonly DELETE: "delete";
    readonly UNINSTALL: "uninstall";
    readonly QUIT: "quit";
    readonly UNBIND: "unbind";
    readonly UNMOUNT: "unmount";
};
export type DeleteType = ValueOf<typeof DeleteType>;
export type DeleteResourceApi<P, R> = (inputValue?: string, params?: P) => Observable<R> | Promise<R>;
export interface ConfirmDeleteData<P = unknown, R = unknown> {
    context?: unknown;
    type?: DeleteType;
    title: string;
    resourceName: string | string[];
    deleteTips?: string;
    confirmTips?: string;
    extraConfirmTips?: string;
    deleteResourceApi: DeleteResourceApi<P, R>;
    deleteResourceParams?: P;
    deleteSuccessMsg?: string;
    deleteFailMsg?: string;
    confirmText?: string;
}
