import type { OrmClientConfig } from './client'; import { DbPresetModel } from './models/dbPreset'; import { NamespaceModel } from './models/namespace'; import { NamespaceEventModel } from './models/namespaceEvent'; import { PlatformInfraCommitModel } from './models/platformInfraCommit'; import { PlatformInfraGetAllTreeNodesRecordModel } from './models/platformInfraGetAllTreeNodesRecord'; import { PlatformInfraObjectModel } from './models/platformInfraObject'; import { PlatformInfraRefModel } from './models/platformInfraRef'; import { PlatformInfraStoreModel } from './models/platformInfraStore'; import { PlatformNamespaceModel } from './models/platformNamespace'; import { PlatformNamespaceEventModel } from './models/platformNamespaceEvent'; 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): { dbPreset: DbPresetModel; namespace: NamespaceModel; namespaceEvent: NamespaceEventModel; platformInfraCommit: PlatformInfraCommitModel; platformInfraGetAllTreeNodesRecord: PlatformInfraGetAllTreeNodesRecordModel; platformInfraObject: PlatformInfraObjectModel; platformInfraRef: PlatformInfraRefModel; platformInfraStore: PlatformInfraStoreModel; platformNamespace: PlatformNamespaceModel; platformNamespaceEvent: PlatformNamespaceEventModel; mutation: { platformInfraInitEmptyRepo: (args: import("./mutation").PlatformInfraInitEmptyRepoVariables, options: { select: S; } & import("./select-types").StrictSelect) => import("./query-builder").QueryBuilder<{ platformInfraInitEmptyRepo: import("./select-types").InferSelectResult | null; }>; platformInfraInsertNodeAtPath: (args: import("./mutation").PlatformInfraInsertNodeAtPathVariables, options: { select: S; } & import("./select-types").StrictSelect) => import("./query-builder").QueryBuilder<{ platformInfraInsertNodeAtPath: import("./select-types").InferSelectResult | null; }>; platformInfraSetDataAtPath: (args: import("./mutation").PlatformInfraSetDataAtPathVariables, options: { select: S; } & import("./select-types").StrictSelect) => import("./query-builder").QueryBuilder<{ platformInfraSetDataAtPath: 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; }>; }; };