import { type AttrValue, type ElementNode } from '../schema/index.js'; import { type HtmlBuilder } from '../html/index.js'; import type { InputRule, OnKey, StructureDecl, Wing, WingButton } from './contract.js'; export interface SimpleMarkSpec { readonly w: string; readonly clearable?: boolean; readonly toHtml?: HtmlBuilder; readonly escapeKeys?: readonly string[]; readonly button?: WingButton; readonly styles?: string; readonly inputRules?: readonly InputRule[]; } export declare function simpleMark(spec: SimpleMarkSpec): Wing; export interface ValueMarkSpec { readonly w: string; readonly key: string; readonly values: readonly string[]; readonly toHtml?: HtmlBuilder; readonly escapeKeys?: readonly string[]; readonly button?: WingButton; readonly styles?: string; readonly clearable?: boolean; } export declare function valueMark(spec: ValueMarkSpec): Wing; export interface BoxObjectSpec { readonly w: string; readonly attrs?: Readonly AttrValue | null>>; readonly requires?: readonly string[]; readonly toHtml?: HtmlBuilder; readonly button?: WingButton; readonly styles?: string; readonly claim?: Wing['claim']; } export declare function boxObject(spec: BoxObjectSpec): Wing; export interface ListFamilySpec { readonly w: string; readonly item: string; readonly itemDecl?: Partial; readonly toHtml?: HtmlBuilder; readonly itemHtml?: HtmlBuilder; readonly repairItem?: (node: ElementNode) => ElementNode; readonly onKey?: OnKey; readonly button?: WingButton; readonly styles?: string; readonly inputRules?: readonly InputRule[]; } export declare function listFamily(spec: ListFamilySpec): Wing; //# sourceMappingURL=factories.d.ts.map