export type AutoSaveNotificationProps = {
    text: string;
    type: 'saving' | 'success' | 'error';
};
export declare const autoSaveNotification: ({ type, text }: AutoSaveNotificationProps) => string;
/**
 * It takes a function that returns a promise, and it runs that function, and if it succeeds, it shows
 * a success notification, and if it fails, it shows an error notification
 * @param func - () => Promise<unknown>
 * @param [options] - {
 */
export declare const notificationsChain: (func: () => Promise<unknown>, options?: {
    errorText?: string;
    savingText?: string;
    successText?: string;
}) => Promise<void>;
