/**
 * Interface for the configuration of the page stepper
 */
export interface QdPageStepperConfig {
    /**
     * Config for previous button
     */
    previous?: QdPageStepperActionConfig;
    /**
     * Config for next button
     */
    next?: QdPageStepperActionConfig;
    /**
     * Config for cancel button
     */
    cancel?: QdPageStepperActionConfig;
    /**
     * Config for complete button
     */
    submit?: QdPageStepperSubmitActionConfig;
}
/**
 * Configuration model for page stepper buttons
 */
export interface QdPageStepperActionConfig {
    /**
     * Translation key for stepper button
     */
    i18n?: string;
    /**
     * A click handler, fired on button click
     *
     * * @note Only the handler for the navigation button has parameters as an argument.
     */
    handler?: (handlerParams?: QdPageStepperHandlerParams) => void;
}
/**
 * Configuration model for page stepper complete button
 */
export interface QdPageStepperSubmitActionConfig {
    /**
     * Translation key for stepper complete button
     */
    i18n?: string;
    /**
     * A click handler, fired on button click. It receives the form values as an argument.
     */
    handler?: (formValues?: any) => void;
}
/**
 * Interface for the configuration of a page step
 */
export interface QdPageStepConfig {
    /**
     * @description Renders a label
     */
    label: {
        i18n: string;
    };
    /**
     * @description Indicates whether the step is editable. If true, the user can return to this step once it has been marked as completed.
     *
     * * @default true
     */
    isEditable?: boolean;
    /**
     * @description Whether the completion of step is optional. Optional means that the fields will not be validated. However, this does not apply to the required validator.
     *
     * * @default false
     */
    isOptional?: boolean;
}
/**
 * Interface for the parameters passed to the navigation handler functions.
 */
interface QdPageStepperHandlerParams {
    /**
     * The index we are navigating from.
     * */
    fromIndex: number;
    /**
     * The index we are navigating to.
     * */
    toIndex: number;
}
export {};
//# sourceMappingURL=qd-page-stepper-config.d.ts.map