import type { App } from "./app.js";
export declare const DefaultIdLength = 15;
export declare const DefaultIdAlphabet = "abcdefghijklmnopqrstuvwxyz0123456789";
export declare const DefaultIdRegex: RegExp;
export declare function GenerateDefaultRandomId(): string;
export type PreValidator = {
    PreValidate: (ctx: unknown, app: App) => Error | null;
};
export type PostValidator = {
    PostValidate: (ctx: unknown, app: App) => Error | null;
};
export declare function validateCollectionId(app: App, ...optTypes: string[]): (value: unknown) => Error | null;
export declare function validateRecordId(app: App, collectionNameOrId: string): (value: unknown) => Error | null;
