import * as z from 'zod/v4'; export declare const InherentFlags: { readonly INCOMPLETE: "incomplete"; readonly REJECTED: "rejected"; readonly CORRECTION_REQUESTED: "correction-requested"; readonly POTENTIAL_DUPLICATE: "potential-duplicate"; /** * This flag is set by the Edit-action and removed after the declaration or registration. * A record should never stay with the EDIT_IN_PROGRESS flag, since it should always be declared or registered right after. * * We only use this flag to determine that a NOTIFY, DECLARE or REGISTER action is allowed next. */ readonly EDIT_IN_PROGRESS: "edit-in-progress"; }; export type InherentFlags = (typeof InherentFlags)[keyof typeof InherentFlags]; export declare const ActionFlag: z.ZodString; export type ActionFlag = z.infer; /** Custom flag identifier defined by the country config. These may not match any InherentFlags or ActionFlag patterns. */ export declare const CustomFlag: z.ZodString; export type CustomFlag = z.infer; export declare const Flag: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{ readonly INCOMPLETE: "incomplete"; readonly REJECTED: "rejected"; readonly CORRECTION_REQUESTED: "correction-requested"; readonly POTENTIAL_DUPLICATE: "potential-duplicate"; /** * This flag is set by the Edit-action and removed after the declaration or registration. * A record should never stay with the EDIT_IN_PROGRESS flag, since it should always be declared or registered right after. * * We only use this flag to determine that a NOTIFY, DECLARE or REGISTER action is allowed next. */ readonly EDIT_IN_PROGRESS: "edit-in-progress"; }>]>, z.ZodString]>; export type Flag = z.infer; /** * Configuration of a custom flag that can be associated with a certain event type. */ export declare const FlagConfig: z.ZodObject<{ id: z.ZodString; requiresAction: z.ZodBoolean; label: z.ZodObject; }, z.core.$strip>; export type FlagConfig = z.infer; /** * Configuration for a flag action, which is executed when the action is performed. */ export declare const ActionFlagConfig: z.ZodObject<{ id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{ readonly INCOMPLETE: "incomplete"; readonly REJECTED: "rejected"; readonly CORRECTION_REQUESTED: "correction-requested"; readonly POTENTIAL_DUPLICATE: "potential-duplicate"; /** * This flag is set by the Edit-action and removed after the declaration or registration. * A record should never stay with the EDIT_IN_PROGRESS flag, since it should always be declared or registered right after. * * We only use this flag to determine that a NOTIFY, DECLARE or REGISTER action is allowed next. */ readonly EDIT_IN_PROGRESS: "edit-in-progress"; }>]>, z.ZodString]>; operation: z.ZodEnum<{ add: "add"; remove: "remove"; }>; conditional: z.ZodOptional; }, z.core.$strip>; //# sourceMappingURL=Flag.d.ts.map