/**
 * DOM Helper Utilities
 * Easy integration with HTML input/output elements
 */
import type { StreamCallback, AttachOptions } from './types';
/**
 * Creates a streaming callback that updates an output element
 */
export declare function createOutputStreamer(outputSelector: string | HTMLElement, options?: {
    append?: boolean;
    scrollToBottom?: boolean;
}): StreamCallback;
/**
 * Attach LLM to input/output elements with automatic handling
 */
export declare function attachToElements(inputSelector: string | HTMLInputElement | HTMLTextAreaElement, outputSelector: string | HTMLElement, generateFn: (input: string, onToken: StreamCallback) => Promise<string>, options?: AttachOptions): () => void;
/**
 * Create a simple chat UI in a container
 */
export declare function createChatUI(containerSelector: string | HTMLElement): {
    input: HTMLTextAreaElement;
    output: HTMLDivElement;
    sendButton: HTMLButtonElement;
    cleanup: () => void;
};
/**
 * Create a loading indicator
 */
export declare function createLoadingIndicator(containerSelector: string | HTMLElement): {
    show: () => void;
    hide: () => void;
    setProgress: (percent: number, status?: string) => void;
    element: HTMLDivElement;
};
//# sourceMappingURL=helpers.d.ts.map