/** * Trusted Types helpers for CSP compatibility. * * @module bquery/security */ import type { TrustedHTML, TrustedTypePolicy } from './types'; /** * Check if Trusted Types API is available. * @returns True if Trusted Types are supported */ export declare const isTrustedTypesSupported: () => boolean; /** * Get or create the bQuery Trusted Types policy. * @returns The Trusted Types policy or null if unsupported */ export declare const getTrustedTypesPolicy: () => TrustedTypePolicy | null; /** * Create a Trusted HTML value for use with Trusted Types-enabled sites. * Falls back to regular string when Trusted Types are unavailable. * * @param html - The HTML string to wrap * @returns Trusted HTML value or sanitized string */ export declare const createTrustedHtml: (html: string) => TrustedHTML | string; //# sourceMappingURL=trusted-types.d.ts.map