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;
    /**
     * Cuando efectivamente se cierrar la ventana se ejecuta esta función.
     */
    onClose?: () => void;
    /**
     * Vicular la funcion de cierre de consulta con la funcion de cierre de la ventana.
     */
    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