import { QdButtonAdditionalInfo } from '../../button/model/button-config';
/**
 * Type for the keys of footer actions.
 */
export type QdFooterActionKey = 'saveDraft' | 'previous' | 'next' | 'cancel' | 'submit';
/**
 * Define the types for the footer action keys, excluding Stepper actions.
 */
export type QdCreateFooterActionKey = Exclude<QdFooterActionKey, 'previous' | 'next'>;
/**
 * Interface that describes the configuration of a footer action.
 */
export interface QdPageFooterAction {
    /**
     * The internationalized title of the action.
     */
    titleI18n: string;
    /**
     * The type of the action (e.g., Primary or Secondary).
     */
    type: QdFooterActionType;
    /**
     * The function to be called when the action is triggered.
     */
    handler: (formValues?: any) => void;
    /**
     * Indicates whether the action is visible.
     */
    isVisible?: boolean;
    /**
     * Indicates whether the action is disabled (optional).
     */
    isDisabled?: boolean;
    /**
     * Allows to configure additional information for the action.
     */
    additionalInfo?: QdButtonAdditionalInfo;
}
/**
 * Enum for the types of footer actions.
 */
export declare enum QdFooterActionType {
    Primary = 0,
    Secondary = 1
}
//# sourceMappingURL=page-footer-action.interface.d.ts.map