import type { App } from "../../core/app.js";
export type Config = {
    OnInit?: (globals: Record<string, unknown>) => void;
    onInit?: (globals: Record<string, unknown>) => void;
    HooksWatch?: boolean;
    hooksWatch?: boolean;
    HooksDir?: string;
    hooksDir?: string;
    HooksFilesPattern?: string;
    hooksFilesPattern?: string;
    HooksPoolSize?: number;
    hooksPoolSize?: number;
    MigrationsDir?: string;
    migrationsDir?: string;
    MigrationsFilesPattern?: string;
    migrationsFilesPattern?: string;
    TypesDir?: string;
    typesDir?: string;
};
export declare function MustRegister(app: App, config: Config): void;
export declare function MustRegisterAsync(app: App, config: Config): Promise<void>;
export declare function Register(app: App, config: Config): Error | null;
export declare function RegisterAsync(app: App, config: Config): Promise<Error | null>;
