import { type FC, type ReactNode } from 'react';
import { type AlertStyleProps } from '../components/alert';
import { type ToastStyleProps } from '../components/toast';
type ContextProps = {
    showAlert: (param: IranoAlertType) => void;
    onToast: (param: IranoToastType) => void;
};
export declare const useIrano: () => ContextProps;
declare const IranoProvider: FC<IranoProviderProps>;
export default IranoProvider;
type IranoProviderProps = {
    children: ReactNode;
    doneProps?: AlertStyleProps;
    loadingProps?: AlertStyleProps;
    errorProps?: AlertStyleProps;
    toastErrorProps?: ToastStyleProps;
    toastSuccessProps?: ToastStyleProps;
};
interface IranoType {
    title: string;
    subtitle: string;
}
interface IranoToastType extends IranoType {
    preset: 'success' | 'error';
}
interface IranoAlertType extends IranoType {
    preset: 'done' | 'loading' | 'error';
}
//# sourceMappingURL=irano.provider.d.ts.map