import * as react_jsx_runtime from 'react/jsx-runtime';
import * as react from 'react';
import { ThemeName } from '@teamsparta/stack-tokens';
import { CustomModalSize } from './type.mjs';

interface CustomModalContext {
    open: boolean;
    onOpenChange: (open: boolean) => void;
    closeOnInteractOutside: boolean;
    size: CustomModalSize;
    theme: ThemeName;
    hasScroll: boolean;
    setHasScroll: (hasScroll: boolean) => void;
    hideCloseButton: boolean;
}
declare const CustomModalProvider: {
    (props: CustomModalContext & {
        children: react.ReactNode;
    }): react_jsx_runtime.JSX.Element;
    displayName: string;
};
declare const useCustomModal: (consumerName: string) => CustomModalContext;

export { CustomModalProvider, useCustomModal };
