/**
 * Template Generator Context
 * Provides state management and actions for the template generator
 *
 * Multi-section support: state now uses sections: Section[] instead of template: Section
 */
import React from 'react';
import type { Section, TemplateGeneratorState, TemplateGeneratorActions, FormSetData } from './types.js';
interface TemplateGeneratorContextValue {
    state: TemplateGeneratorState;
    actions: TemplateGeneratorActions;
}
interface TemplateGeneratorProviderProps {
    children: React.ReactNode;
    initial_template?: Section | FormSetData;
    on_template_change?: (data: FormSetData) => void;
}
export declare function TemplateGeneratorProvider({ children, initial_template, on_template_change, }: TemplateGeneratorProviderProps): import("react/jsx-runtime").JSX.Element;
export declare function useTemplateGenerator(): TemplateGeneratorContextValue;
export declare function useTemplateState(): TemplateGeneratorState;
export declare function useTemplateActions(): TemplateGeneratorActions;
export {};
//# sourceMappingURL=context.d.ts.map