import { NavigateOptions, To } from 'react-router-dom';
import { ButtonProps, Theme } from '@mui/material';
import { Sizes } from '@m4l/styles';
import { ActionFormCancelSlots } from './slots';
import { OverridesStyleRules } from '@mui/material/styles/overrides';
import { ACTION_FORM_CANCEL_KEY_COMPONENT } from './constanst';
export interface ActionFormCancelProps extends ButtonProps {
    to?: To;
    navigateOptions?: NavigateOptions;
    size?: Extract<Sizes, 'small' | 'medium'>;
    dictionaryId?: string;
    className?: string;
    /**
     * Run this callback after the standard close path finishes successfully.
     */
    onClose?: () => void;
    /**
     * Register the same guarded flow as the shell-level query-close handler.
     */
    linkToCloseWindow: boolean;
    'data-testid'?: string;
}
export interface ActionFormCancelOwnerState {
    size?: Extract<Sizes, 'small' | 'medium'>;
}
export type ActionFormCancelSlotType = keyof typeof ActionFormCancelSlots;
export type ActionFormCancelStyles = OverridesStyleRules<ActionFormCancelSlots, typeof ACTION_FORM_CANCEL_KEY_COMPONENT, Theme>;
//# sourceMappingURL=types.d.ts.map