/** * Consent Default Values * * Single source of truth for all consent page defaults. * These values are used when config fields are not specified. * * CRITICAL: These must match AgentShield constants.ts exactly * to ensure WYSIWYG parity. * * @module @kya-os/consent/constants/defaults */ import type { ConsentBranding, ConsentUI, ConsentTerms, ConsentSuccess, ConsentMetadata } from "../types/config.types.js"; /** * Default branding configuration * * CRITICAL: primaryColor MUST be #2563EB (blue) * This resolves the dual defaults issue where some files used orange (#EB8525) */ export declare const DEFAULT_BRANDING: Required; /** * Default UI text and configuration * * Text placeholders: * - [AI Agent] - Replaced with actual agent name at render time */ export declare const DEFAULT_UI: Required; /** * Default terms and conditions configuration */ export declare const DEFAULT_TERMS: Required; /** * Default success page configuration */ export declare const DEFAULT_SUCCESS: Required; /** * Default metadata configuration */ export declare const DEFAULT_METADATA: ConsentMetadata; /** * Default expiration in days */ export declare const DEFAULT_EXPIRATION_DAYS = 30; /** * Credential form defaults */ export declare const DEFAULT_CREDENTIALS_CONFIG: { readonly usernameLabel: "Username"; readonly usernamePlaceholder: "Enter your username"; readonly passwordLabel: "Password"; readonly passwordPlaceholder: "Enter your password"; readonly showRememberMe: true; readonly showForgotPassword: true; readonly forgotPasswordUrl: string; }; /** * OAuth form defaults */ export declare const DEFAULT_OAUTH_CONFIG: { readonly providerId: string; readonly providerName: string; readonly buttonText: "Continue with OAuth"; }; /** * Magic link form defaults */ export declare const DEFAULT_MAGIC_LINK_CONFIG: { readonly enabled: false; readonly emailLabel: "Email"; readonly emailPlaceholder: "Enter your email address"; readonly buttonText: "Send Magic Link"; readonly resendCooldown: 60; }; /** * OTP form defaults */ export declare const DEFAULT_OTP_CONFIG: { readonly enabled: false; readonly phoneLabel: "Phone Number"; readonly phonePlaceholder: "Enter your phone number"; readonly instructions: "We will send you a verification code"; readonly digits: 4 | 6 | 8; readonly resendCooldown: 60; }; /** * QR code form defaults */ export declare const DEFAULT_QR_CODE_CONFIG: { readonly enabled: false; readonly instructions: "Scan this QR code with your authenticator app"; readonly size: 200; readonly showManualEntry: true; }; /** * Passkey form defaults */ export declare const DEFAULT_PASSKEY_CONFIG: { readonly enabled: false; readonly instructions: "Use your device's biometric authentication"; readonly buttonText: "Continue with Passkey"; readonly showCompatibilityInfo: true; }; /** * IDV form defaults */ export declare const DEFAULT_IDV_CONFIG: { readonly enabled: false; readonly providerName: string; readonly verificationType: "document" | "selfie" | "both"; readonly instructions: "Complete identity verification"; readonly estimatedTime: "2-5 minutes"; }; //# sourceMappingURL=defaults.d.ts.map