import { CustomElement } from '../../Abstracts/CustomElement';
import { IFlowBoardColumnComposerElementProps } from './IFlowBoardColumnComposerElementProps';
declare const FlowBoardColumnComposerElement_base: (abstract new (...args: Array<any>) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array<any>) => import("../../../Behaviors/Slottable").ISlottableProps & import("../../../Behaviors/Slottable").ISlottable) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor;
/**
 * FlowBoardColumnComposer - A composer for creating new columns in a FlowBoard.
 *
 * @description
 * Provides a trigger+form pattern for adding new columns to a board.
 * This component is completely data-agnostic - it accepts any data structure.
 * The user provides their own form fields via the `form` slot.
 * Intended for use in the `slot="append"` of the FlowBoard.
 *
 * @remarks
 * The composer emits generic `create` events with user-defined data:
 * - Element properties (title, columnKey, pinned, reorderable, etc.)
 * - Metadata (ownerId, tags, status, limits, custom fields, etc.)
 * - Any other data the application needs
 *
 * @name FlowBoardColumnComposerElement
 * @element mosaik-flow-board-column-composer
 * @category Layouts
 *
 * @slot trigger - The trigger element that opens the form (e.g., "Add another list" button)
 * @slot form - The form content for creating new columns (completely user-defined)
 *
 * @csspart container - The main container element
 * @csspart trigger - The trigger section wrapper
 * @csspart form - The form section wrapper
 *
 * @cssprop {String} --flow-board-composer-min-width - Minimum width of the composer area
 * @cssprop {String} --flow-board-composer-padding - Padding inside the container
 * @cssprop {String} --flow-board-composer-gap - Gap between form elements
 *
 * @fires flowBoardBeforeColumnCreate {FlowBoardBeforeColumnCreateEvent} - Fired before column creation (cancelable)
 * @fires flowBoardColumnCreate {FlowBoardColumnCreateEvent} - Fired when column is created with user-defined data
 *
 * @example
 * Basic usage with simple form:
 * ```html
 * <mosaik-flow-board-column-composer id="composer" slot="append">
 *   <mosaik-button slot="trigger" variant="ghost" icon="plus">Add Column</mosaik-button>
 *   <div slot="form">
 *     <mosaik-input id="title" placeholder="Enter column name…"></mosaik-input>
 *     <mosaik-button @click="${submit}">Create</mosaik-button>
 *   </div>
 * </mosaik-flow-board-column-composer>
 *
 * <script>
 * function submit() {
 *     const composer = document.getElementById('composer');
 *     const title = document.getElementById('title').value;
 *     composer.create({ title });
 * }
 * </script>
 * ```
 *
 * @example
 * Advanced usage with metadata and custom fields:
 * ```html
 * <mosaik-flow-board-column-composer id="composer" slot="append">
 *   <mosaik-button slot="trigger">Add List</mosaik-button>
 *   <div slot="form">
 *     <mosaik-input id="title" placeholder="List name"></mosaik-input>
 *     <mosaik-input id="key" placeholder="list-key"></mosaik-input>
 *     <mosaik-checkbox id="pinned">Pin this column</mosaik-checkbox>
 *     <mosaik-select id="status">
 *       <option value="active">Active</option>
 *       <option value="archived">Archived</option>
 *     </mosaik-select>
 *     <mosaik-user-picker id="owner"></mosaik-user-picker>
 *     <mosaik-number-input id="maxItems" placeholder="Max items"></mosaik-number-input>
 *     <mosaik-button @click="${submit}">Create</mosaik-button>
 *   </div>
 * </mosaik-flow-board-column-composer>
 *
 * <script>
 * function submit() {
 *     const composer = document.getElementById('composer');
 *     composer.create({
 *         // Element properties
 *         title: document.getElementById('title').value,
 *         columnKey: document.getElementById('key').value,
 *         pinned: document.getElementById('pinned').checked,
 *         reorderable: true,
 *
 *         // Metadata - saved to backend
 *         metadata: {
 *             status: document.getElementById('status').value,
 *             ownerId: document.getElementById('owner').selectedUserId,
 *             maxItems: document.getElementById('maxItems').value,
 *
 *             // Custom fields - anything your app needs
 *             customFields: {
 *                 color: '#3b82f6',
 *                 icon: 'inbox',
 *                 autoArchiveAfter: 30,
 *                 notifications: {
 *                     onAddItem: true,
 *                     onMoveItem: false
 *                 }
 *             }
 *         }
 *     });
 * }
 *
 * // Listen for create events
 * composer.addEventListener('create', (e) => {
 *     const { data } = e.detail;
 *     // Save to backend API with all metadata
 *     await api.createColumn({
 *         boardId: currentBoard.id,
 *         ...data
 *     });
 * });
 * </script>
 * ```
 *
 * @public
 */
export declare class FlowBoardColumnComposerElement extends FlowBoardColumnComposerElement_base implements IFlowBoardColumnComposerElementProps {
    private readonly _composerController;
    private readonly _flowBoardBeforeColumnCreate;
    private readonly _flowBoardColumnCreate;
    /**
     * Constructs a new instance of the `FlowBoardColumnComposerElement` class.
     *
     * @public
     */
    constructor();
    /**
     * Returns the `is` property.
     *
     * @public
     * @static
     * @readonly
     */
    static get is(): string;
    /**
     * Gets or sets whether the composer form is open.
     *
     * @public
     * @attr
     */
    get open(): boolean;
    set open(value: boolean);
    /**
     * Creates a new column with the provided data.
     * Emits flowBoardBeforeColumnCreate (cancelable) and flowBoardColumnCreate events.
     *
     * @param data The data for the new column (completely user-defined)
     * @returns True if created, false if canceled
     *
     * @public
     */
    create(data: unknown): boolean;
    /**
     * Toggles the composer between open and closed state.
     *
     * @public
     */
    toggle(): void;
    /**
     * Closes the composer form.
     *
     * @public
     */
    close(): void;
}
/**
 * @public
 */
export declare namespace FlowBoardColumnComposerElement {
    type Props = IFlowBoardColumnComposerElementProps;
}
/**
 * @public
 */
declare global {
    interface HTMLElementTagNameMap {
        'mosaik-flow-board-column-composer': FlowBoardColumnComposerElement;
    }
}
export {};
//# sourceMappingURL=FlowBoardColumnComposerElement.d.ts.map