import type { Branding, ResolvedBranding } from '../types.js'; /** Default author shown when no brand name is provided. */ export declare const DEFAULT_BRAND_NAME = "VLayer Automated Scan"; /** * Resolve branding from CLI flags (which take precedence) and config, validating * the logo. This never throws: an invalid or missing logo becomes a warning and * is dropped so the scan/report always completes. * * @param cli Branding from CLI flags (`--brand-name`, `--brand-logo`). * @param config Branding from the `branding` block in config. * @param baseDir Directory used to resolve a relative logo path (defaults to cwd). */ export declare function resolveBranding(cli: Branding | undefined, config: Branding | undefined, baseDir?: string): ResolvedBranding; /** * Footer line shown on every page. With branding it reads * "Prepared by {name} ยท Powered by VLayer"; without, just "Powered by VLayer". */ export declare function brandFooterText(branding?: ResolvedBranding): string; /** Author label for the cover ("Prepared by ..."), falling back to the default. */ export declare function brandPreparedBy(branding?: ResolvedBranding): string; /** * Read the logo and return a base64 data URI for embedding in HTML ``. * Returns null if the logo can't be read (the report still renders). */ export declare function logoDataUri(branding?: ResolvedBranding): string | null; /** * Whether the logo can be drawn into a PDF via pdfkit. pdfkit's `image()` * supports PNG and JPEG but not SVG, so SVG logos are skipped in PDFs. */ export declare function pdfLogoPath(branding?: ResolvedBranding): string | null; /** Whether the brand logo is an SVG that PDF output cannot embed. */ export declare function isSvgLogo(branding?: ResolvedBranding): boolean; /** * Escape a string for safe interpolation into HTML text/attribute context. * Mirrors the escaping used across the existing reporters so brand-supplied * values (e.g. names with `<` or `"`) cannot inject markup. */ export declare function escapeHtml(text: string): string; //# sourceMappingURL=branding.d.ts.map