import * as Generator from '@postxl/generator';
import { NestJSModule, WithBackend } from '../backend-core';
import { WithBase } from '../base';
export type ContextRequirements = WithBackend<WithBase<Generator.Context>>;
export type ContextResult = WithDatabase<Generator.Context>;
export type WithDatabase<Context> = Generator.ExtendContext<Context, {
    database: DatabaseContext;
}>;
export type DatabaseContext = {
    module: NestJSModule;
    /**
     * The name of the Prisma client package (e.g. `@prisma/pxl-client`)
     */
    prismaClient: Generator.ImportableClass;
    /**
     * Location to import the database types from (e.g. `@database`)
     */
    databaseTypesLocation: Generator.BackendModuleLocation;
    /**
     * Central service that exposes the Prisma client
     */
    service: Generator.ImportableItem;
    config: Generator.ImportableClass & {
        type: Generator.ImportableType;
    };
};
export declare const generatorId: string & import("zod").$brand<"PXL.GeneratorInterfaceId">;
export declare const databaseGeneratorId: string & import("zod").$brand<"PXL.GeneratorInterfaceId">;
export declare const generator: Generator.GeneratorInterface;
