/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
import type { EmbedConfig, EmbedConfigResponse, EmbedConfigSaveResponse } from '@/lib/embed-config';
export interface UseEmbedConfigResult {
    config: EmbedConfig | null;
    source: EmbedConfigResponse['source'] | null;
    snippet: string;
    loading: boolean;
    saving: boolean;
    error: string | null;
    saveError: string | null;
    save(config: EmbedConfig): Promise<EmbedConfigSaveResponse>;
}
export declare function useEmbedConfig(): UseEmbedConfigResult;
