/** * Copy text to clipboard with fallback for restricted contexts (e.g. Chrome * DevTools panels where the Clipboard API is blocked by permissions policy). * Shows a brief "Copied!" toast on success. */ export declare function copyToClipboard(text: string): void; /** * Check if the devtools overlay currently has keyboard focus. * The devtools renders inside a Shadow DOM under #concave-devtools-host. * When any element inside the shadow is focused, document.activeElement * returns the shadow host element. */ export declare function isDevToolsFocused(): boolean; /** * Returns the currently focused element inside the devtools shadow DOM, * or null if nothing inside the devtools is focused. * Use this instead of document.activeElement when comparing against refs * to elements inside the shadow tree. */ export declare function getDevToolsActiveElement(): Element | null; export declare function unwrapArgs(args: T): T; export type InlinePreviewOptions = { maxStringLength?: number; stringTailLength?: number; maxArrayItems?: number; maxObjectEntries?: number; maxDepth?: number; }; export declare function formatInlinePreview(value: any, options?: InlinePreviewOptions, depth?: number): string; export declare function formatJsonSnippet(value: any, maxLength?: number): string;