interface RTEInstance {
    ctx: HTMLTextAreaElement;
    loaded: boolean;
    view: {
        dom: HTMLElement;
    };
}
export interface OnRTEReadyOptions {
    /** If true, auto-unsubscribe after first callback execution. Defaults to true. */
    once?: boolean;
}
/**
 * Execute callback when a specific RTE is fully loaded
 * @param callback - Function called with RTE instance when ready
 * @param target - Textarea element or selector for the specific RTE
 * @param options - Optional configuration
 * @param options.once - Auto-cleanup after first fire (default: true)
 * @returns Cleanup function to unsubscribe
 */
export default function onRTEReady(callback: (rte: RTEInstance) => void, target: HTMLTextAreaElement | string, options?: OnRTEReadyOptions): () => void;
export {};
//# sourceMappingURL=onRTEReady.d.ts.map