/** * Success Page Template * * Rendered after successful consent approval. * * @module @kya-os/consent/templates/modes/success */ import type { SuccessPageConfig } from "../../types/page.types.js"; import type { ResolvedConsentBranding } from "../../types/branding.types.js"; /** * Success Page Template * * Standalone template for the success page (not extending BaseConsentTemplate). * Renders a simple confirmation after consent is granted. */ export declare class SuccessTemplate { private config; private branding; constructor(config: SuccessPageConfig, branding?: Partial); /** * Render the success page. */ render(): string; /** * Render the section. */ private renderHead; /** * Render credential/delegation info. */ private renderCredentialInfo; /** * Render client-side script. */ private renderScript; } /** * Render a success page with the given configuration. */ export declare function renderSuccessPage(config: SuccessPageConfig, branding?: Partial): string; //# sourceMappingURL=success.template.d.ts.map