import { ConditionalModalState, type ToastConfig } from '@wix/bex-core';
import { SchemaConfig } from '../../types/SchemaConfig';
import { CmsFormState } from './CmsFormState';
export declare class CmsFieldModalState {
    private readonly getSchema;
    private readonly resolveError;
    readonly modal: ConditionalModalState<null>;
    formState: CmsFormState | null;
    constructor(getSchema: () => SchemaConfig, resolveError: (e: unknown) => ToastConfig);
    open(fieldId?: string): void;
    reset(): void;
    private submit;
}
//# sourceMappingURL=CmsFieldModalState.d.ts.map