import type { OrmClientConfig } from './client'; import { ConfigModel } from './models/config'; import { PlatformConfigModel } from './models/platformConfig'; import { PlatformInternalSecretModel } from './models/platformInternalSecret'; import { PlatformSecretModel } from './models/platformSecret'; import { SecretModel } from './models/secret'; export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client'; export { GraphQLRequestError, FetchAdapter } from './client'; export { QueryBuilder } from './query-builder'; export * from './select-types'; export * from './models'; export { createMutationOperations } from './mutation'; /** * Create an ORM client instance * * @example * ```typescript * const db = createClient({ * endpoint: 'https://api.example.com/graphql', * headers: { Authorization: 'Bearer token' }, * }); * * // Query users * const users = await db.user.findMany({ * select: { id: true, name: true }, * first: 10, * }).execute(); * * // Create a user * const newUser = await db.user.create({ * data: { name: 'John', email: 'john@example.com' }, * select: { id: true }, * }).execute(); * ``` */ export declare function createClient(config: OrmClientConfig): { config: ConfigModel; platformConfig: PlatformConfigModel; platformInternalSecret: PlatformInternalSecretModel; platformSecret: PlatformSecretModel; secret: SecretModel; mutation: { _secretsDel: (args: import("./mutation")._secretsDelVariables, options: { select: S; } & import("./select-types").StrictSelect) => import("./query-builder").QueryBuilder<{ _secretsDel: import("./select-types").InferSelectResult | null; }>; _secretsRemoveArray: (args: import("./mutation")._secretsRemoveArrayVariables, options: { select: S; } & import("./select-types").StrictSelect) => import("./query-builder").QueryBuilder<{ _secretsRemoveArray: import("./select-types").InferSelectResult | null; }>; _secretsRotate: (args: import("./mutation")._secretsRotateVariables, options: { select: S; } & import("./select-types").StrictSelect) => import("./query-builder").QueryBuilder<{ _secretsRotate: import("./select-types").InferSelectResult | null; }>; _secretsSet: (args: import("./mutation")._secretsSetVariables, options: { select: S; } & import("./select-types").StrictSelect) => import("./query-builder").QueryBuilder<{ _secretsSet: import("./select-types").InferSelectResult | null; }>; platformInternalSecretsDel: (args: import("./mutation").PlatformInternalSecretsDelVariables, options: { select: S; } & import("./select-types").StrictSelect) => import("./query-builder").QueryBuilder<{ platformInternalSecretsDel: import("./select-types").InferSelectResult | null; }>; platformInternalSecretsRemoveArray: (args: import("./mutation").PlatformInternalSecretsRemoveArrayVariables, options: { select: S; } & import("./select-types").StrictSelect) => import("./query-builder").QueryBuilder<{ platformInternalSecretsRemoveArray: import("./select-types").InferSelectResult | null; }>; platformInternalSecretsRotate: (args: import("./mutation").PlatformInternalSecretsRotateVariables, options: { select: S; } & import("./select-types").StrictSelect) => import("./query-builder").QueryBuilder<{ platformInternalSecretsRotate: import("./select-types").InferSelectResult | null; }>; platformInternalSecretsSet: (args: import("./mutation").PlatformInternalSecretsSetVariables, options: { select: S; } & import("./select-types").StrictSelect) => import("./query-builder").QueryBuilder<{ platformInternalSecretsSet: import("./select-types").InferSelectResult | null; }>; platformSecretsDel: (args: import("./mutation").PlatformSecretsDelVariables, options: { select: S; } & import("./select-types").StrictSelect) => import("./query-builder").QueryBuilder<{ platformSecretsDel: import("./select-types").InferSelectResult | null; }>; platformSecretsRemoveArray: (args: import("./mutation").PlatformSecretsRemoveArrayVariables, options: { select: S; } & import("./select-types").StrictSelect) => import("./query-builder").QueryBuilder<{ platformSecretsRemoveArray: import("./select-types").InferSelectResult | null; }>; platformSecretsRotate: (args: import("./mutation").PlatformSecretsRotateVariables, options: { select: S; } & import("./select-types").StrictSelect) => import("./query-builder").QueryBuilder<{ platformSecretsRotate: import("./select-types").InferSelectResult | null; }>; platformSecretsSet: (args: import("./mutation").PlatformSecretsSetVariables, options: { select: S; } & import("./select-types").StrictSelect) => import("./query-builder").QueryBuilder<{ platformSecretsSet: import("./select-types").InferSelectResult | null; }>; provisionBucket: (args: import("./mutation").ProvisionBucketVariables, options: { select: S; } & import("./select-types").StrictSelect) => import("./query-builder").QueryBuilder<{ provisionBucket: import("./select-types").InferSelectResult | null; }>; }; };