import { StructureSchema } from '@ephox/boulder'; import type { Optional, Result } from '@ephox/katamari'; import { type FormComponentWithLabel, type FormComponentWithLabelSpec } from './FormComponent'; export interface UrlInputSpec extends FormComponentWithLabelSpec { type: 'urlinput'; filetype?: 'image' | 'media' | 'file'; enabled?: boolean; picker_text?: string; context?: string; } export interface UrlInput extends FormComponentWithLabel { type: 'urlinput'; filetype: 'image' | 'media' | 'file'; enabled: boolean; picker_text: Optional; context: string; } export interface UrlInputData { value: string; meta: { text?: string; }; } export declare const urlInputSchema: import("@ephox/boulder").StructureProcessor; export declare const urlInputDataProcessor: import("@ephox/boulder").StructureProcessor; export declare const createUrlInput: (spec: UrlInputSpec) => Result>; //# sourceMappingURL=UrlInput.d.ts.map