export declare const stripTrailingSlashes: (url: string) => string; export declare function assertContainerId(containerId: string): string; export declare function assertDataLayerName(name: string): string; /** * Validates and canonicalizes a container base URL for use as a script `src` prefix. * Returns origin + pathname only (https, no credentials/search/hash), with trailing * slashes stripped. */ export declare function assertContainerUrl(url: string): string; /** * Serializes a value as a JavaScript literal safe for embedding in a script. * Escapes `<` to prevent closing the script tag early. */ export declare function toJsLiteral(value: unknown): string;