import type { PapierFormaatDef } from "./documentTypes.js"; export type InstellingType = "schakelaar" | "keuze" | "meerkeuze" | "tekst" | "getal" | "kleur"; export interface InstellingDef { key: string; label: string; type: InstellingType; hint?: string; /** opties voor keuze / meerkeuze */ opties?: { value: string; label: string; }[]; standaard?: unknown; } export interface InstellingGroep { key: string; label: string; omschrijving?: string; instellingen: InstellingDef[]; } export interface DocumentProfiel { /** komt overeen met document_layouts.documenttype */ id: string; label: string; omschrijving: string; /** getoond in stap 1 van de wizard */ primair?: boolean; /** formaten die bij dit documenttype horen */ formaten: PapierFormaatDef[]; standaardFormaat: string; standaardOrientatie: "portrait" | "landscape"; /** entiteiten uit het veldregister die relevant zijn */ entiteiten: string[]; /** extra aanwijzing voor de AI-layoutimport */ aiHint: string; /** kan per formaat een standaardprinter krijgen */ printerPerFormaat?: boolean; groepen: InstellingGroep[]; } export declare const STICKER_FORMATEN: PapierFormaatDef[]; export declare const VERZENDLABEL_FORMATEN: PapierFormaatDef[]; export declare const DOCUMENT_PROFIELEN: DocumentProfiel[]; export declare function documentProfiel(id: string): DocumentProfiel; export declare function primaireProfielen(): DocumentProfiel[]; export type DocumentConfig = Record>; /** Standaardwaarden van een profiel als opslagbaar configuratieobject. */ export declare function standaardConfig(profiel: DocumentProfiel): DocumentConfig; /** Waarde uit de opgeslagen config, met terugval op de profielstandaard. */ export declare function configWaarde(config: DocumentConfig | null | undefined, groep: InstellingGroep, inst: InstellingDef): unknown; //# sourceMappingURL=documentProfiles.d.ts.map