export interface QdPanelSectionConfig {
    /**
     * @description Defines the title of the panel section.
     *
     * - The `i18n` property specifies the translation key for the title.
     */
    title?: QdPanelSectionTitle;
    /**
     * @description Configures the actions of the panel section
     *
     * - **Single Action**: If only one action is defined, a standard QdButton is displayed with an optional specified icon.
     * - **Multiple Actions**: If multiple action types are defined, a QdMenuButton is used, showing each action as a dropdown menu item.
     */
    actions?: QdPanelSectionActionConfig[];
    /**
     * @description All actions can be disabled at once by setting the areActionsDisabled property
     *
     * - @default false
     */
    areActionsDisabled?: boolean;
}
export interface QdPanelSectionTitle {
    /**
     * @description Specifies the translation key for the title of the panel section.
     */
    i18n?: string;
}
export interface QdPanelSectionActionConfig {
    /**
     * @description Specifies the action type.
     */
    type: string;
    /**
     * @description Defines the label for the action, including the translation key.
     *
     * - The `i18n` key provides the localized text for the action's label, which is displayed in the UI.
     */
    label: {
        i18n: string;
    };
    /**
     * @description Specifies the function to execute when the action is triggered.
     *
     * - Alternatively, you can use the actionOutput of the qd-panel-section component.
     */
    handler?: () => void;
    /**
     * @description Defines the icon to display for the action.
     *
     * - The icon visually represents the action in the UI.
     * - **Note**: If multiple actions are present, the icon is ignored because the actions are displayed in a dropdown menu (MenuButton).
     */
    icon?: string;
    /**
     * @description Indicates whether the action is disabled.
     *
     * - Disabled actions are visible in the UI but grayed out and cannot be interacted with.
     *
     * - @default `false`
     */
    isDisabled?: boolean;
    /**
     * @description Indicates whether the action is hidden.
     *
     * - @default `false`
     */
    isHidden?: boolean;
}
//# sourceMappingURL=panel-section-config.interface.d.ts.map