import { WindowBaseAction, WindowBaseProps } from '../../types';
/**
 * Properties used by the `Header` component.
 *
 * This interface defines the expected properties for the window header,
 * including the title, subtitle, cancel actions, icons, style classes, and color configuration.
 *
 * ### Properties:
 * - `title` (string): The main title of the header.
 * - `subTitle` (string, optional): An optional subtitle for the header.
 * - `onClose` (VoidFunction, optional): Callback function executed when the close button is clicked.
 * - `iconUrl` (string, optional): URL of the icon displayed in the header.
 * - `color` ('default', optional): Component palette color, restricted to `'default'`.
 * - `version` (string, optional): Version information to be displayed in the header.
 * - `selected` (boolean, optional): Indicates whether the header is in a "selected" state.
 * - `variant` ('outlined' | 'text', optional): Visual variant of the header.
 *
 * ### Example:
 * ```typescript
 * const headerProps: HeaderProps = {
 * title: 'My Window',
 * subTitle: 'Window Subtitle',
 * onClickCancel: () => console.log('Close window'),
 * iconUrl: 'https://example.com/icon.png',
 * classes: { root: 'header-root' },
 * color: 'default',
 * };
 * ```
 *
 * ### Notes:
 * - `color` uses the palette colors defined in the theme, with support for restricted values.
 * - `selected` modifies the visual appearance to indicate the selected state.
 * @see WindowBaseProps - General properties for the window base.
 */
export type HeaderProps = Pick<WindowBaseProps, 'title' | 'subTitle' | 'iconUrl' | 'onClose' | 'version' | 'selected' | 'variant' | 'emergeType' | 'buildTime' | 'maximized' | 'draggable'> & {
    actions?: WindowBaseAction[];
};
/**
 * Defines the visibility types for window actions.
 */
/**
 * Define una acción de ventana basada en `MenuAction`, pero restringida solo a `menuItem`.
 */
/**
 * Defines the structure of a window action, extending the `MenuAction` type.
 * This includes additional properties for visibility, a unique key, an optional tag, and a custom class name.
 *
 * ### Properties:
 * - `visibility` (WindowActionType): Defines the visibility of the action (`'main'`, `'allways'`, `'normal'`).
 * - `key` (string): A unique key that identifies the action.
 * - `tag` (optional, any): An optional tag or label for the action.
 * - `className` (optional, string): An optional custom CSS class for the action.
 *
 * ### Example:
 * ```typescript
 * const windowAction: windowWindowAction = {
 *   visibility: 'main',
 *   key: 'action1',
 *   tag: 'Action Tag',
 *   className: 'action-class',
 *   onClick: () => console.log('Action clicked'),
 * };
 * ```
 */
//# sourceMappingURL=types.d.ts.map