/**
 * Context and Provider for the validation rule editor.
 * Thin wrapper around UI state + data hook.
 */
import React from 'react';
import type { ValidationRuleEditorContextValue, DocumentTypeOption } from './types.js';
import type { PromptEditorConfig, PromptVariable } from '../../types/validation.js';
import type { FbResponseSet } from '../../types/fb_response_types.js';
interface ProviderProps {
    children: React.ReactNode;
    api_base_url?: string;
    table_name?: string;
    scope_id?: string | null;
    prompt_config?: PromptEditorConfig;
    form_field_variables?: PromptVariable[];
    read_only?: boolean;
    available_document_types?: DocumentTypeOption[];
    available_response_sets?: FbResponseSet[];
    include_globals?: boolean;
    on_clone_to_override?: (global_rule: import('../../types/validation.js').ValidationRule) => Promise<import('../../types/validation.js').ValidationRule | null>;
}
export declare function ValidationRuleEditorProvider({ children, api_base_url, table_name, scope_id, prompt_config: custom_prompt_config, form_field_variables, read_only, available_document_types: custom_document_types, available_response_sets: custom_response_sets, include_globals, on_clone_to_override, }: ProviderProps): import("react/jsx-runtime").JSX.Element;
export declare function useValidationRuleEditor(): ValidationRuleEditorContextValue;
export {};
//# sourceMappingURL=context.d.ts.map