import { RichTextEditorProfile } from "../types";
interface ProfileState {
    profile: RichTextEditorProfile | null;
    loading: boolean;
    error: Error | null;
}
interface UseRichTextProfileOptions {
    /** Custom error handler */
    onError?: (error: Error) => void;
}
/**
 * Hook to load and cache rich text profiles
 * Uses simplified service-level caching for parsed profiles
 */
export declare function useRichTextProfile(profilePath: string | undefined, serviceCall: (path: string) => Promise<any>, options?: UseRichTextProfileOptions): ProfileState;
/**
 * Hook that returns the fully parsed profile object
 * This is now the main hook to use for rich text profiles
 */
export declare function useRichTextProfileParsed(profilePath: string | undefined, serviceCall: (path: string) => Promise<any>): {
    profile: RichTextEditorProfile | null;
    loading: boolean;
    error: Error | null;
};
export {};
