/** * Official legal pack for YSK Server. * Binding body text is English + Hong Kong written Chinese only. * UI chrome (titles, nav) lives in locale namespace legal.json. */ export declare const LEGAL_COMPANY: "YSK Limited"; export declare const LEGAL_PRODUCT: "YSK Server"; export declare const LEGAL_SITE: "https://ysk.hk/"; export declare const LEGAL_EMAIL: "email@ysk.hk"; export declare const LEGAL_UPDATED: "2026-08-20"; export declare const LEGAL_LICENSE: "MIT"; export declare const LEGAL_BODY_LOCALES: readonly ["en", "zh-HK"]; export type LegalBodyLocale = (typeof LEGAL_BODY_LOCALES)[number]; export declare const LEGAL_ARTICLE_IDS: readonly ["terms", "privacy", "disclaimer"]; export type LegalArticleId = (typeof LEGAL_ARTICLE_IDS)[number]; export type LegalDocId = LegalArticleId | 'index'; export declare const LEGAL_PATHS: Record; export type LegalBlock = { kind: 'p'; text: string; tone?: 'warranty'; } | { kind: 'ul'; items: readonly string[]; }; export type LegalSection = { id: string; heading: string; blocks: readonly LegalBlock[]; }; export type LegalDocument = { id: LegalDocId; title: string; summary: string; updated: string; sections: readonly LegalSection[]; }; export type LegalPack = Record; export declare function isLegalBodyLocale(value: string | null | undefined): value is LegalBodyLocale; export declare function isLegalArticleId(value: string | null | undefined): value is LegalArticleId; export declare function isLegalDocId(value: string | null | undefined): value is LegalDocId; /** Official body language: query override, else zh-HK UI → Chinese, otherwise English. */ export declare function resolveLegalBodyLocale(uiLocale: string, override?: string | null): LegalBodyLocale; export declare function formatLegalDate(iso: string, locale: LegalBodyLocale): string; export declare function legalDocumentToMarkdown(doc: LegalDocument, opts: { locale: LegalBodyLocale; siblingHref: string; }): string; //# sourceMappingURL=types.d.ts.map