import { ReactNode } from 'react';

export interface ConfirmationDialogPropsState {
    show: boolean;
    title: string | ReactNode;
    message: string | ReactNode;
    callback: () => void;
    data?: unknown;
    variant: "success" | "danger" | "info" | "default";
}
export interface ConfirmationDialogUnSavedChangesProps {
    value: boolean;
    title?: string | ReactNode;
    message?: string | ReactNode;
    callback?: () => void;
}
export interface SidebarContextValue {
    show: boolean;
    open: () => void;
    close: () => void;
    toggle: () => void;
    setUnsavedChanges: ({ value, message, title, }: ConfirmationDialogUnSavedChangesProps) => void;
    confirmNavigation: (callback: () => void) => void;
    renderConfirmationDialog: ({ title, message, callback, data, }: Omit<ConfirmationDialogPropsState, "show" | "variant"> & {
        variant?: "success" | "danger" | "info" | "default";
    }) => void;
    confirmationDialog: ConfirmationDialogPropsState;
    handleDialogConfirm: () => void;
    handleDialogCancel: () => void;
}
export declare const sidebarContextDefaultValue: SidebarContextValue;
export declare const SidebarContext: import('react').Context<SidebarContextValue>;
