import type { KubunDB } from '@kubun/db'; import type { Logger } from '@kubun/logger'; import { type DeployGraphParams, type DeployGraphResult, type ListGraphResult, type LoadGraphParams, type LoadGraphResult } from '@kubun/protocol'; import type { Runtime } from '@sozai/runtime'; import type { GraphQLSchema } from 'graphql'; import type { MutationPreflightParams, SchemaExtension } from './plugin.js'; export type GraphSchemaRegistryParams = { db: KubunDB; logger: Logger; runtime: Runtime; }; export declare class GraphSchemaRegistry { #private; constructor(params: GraphSchemaRegistryParams); registerPluginExtension(name: string, extension: (config: Record) => SchemaExtension): void; isNonTransactionalMutationField(graphID: string, name: string): boolean; isRetryableMutationField(graphID: string, name: string): boolean; canRetryMutationFields(graphID: string, names: ReadonlyArray): boolean; preflightMutation(graphID: string, params: MutationPreflightParams): Promise>; getGraphQLSchema(id: string): Promise; listGraphs(): Promise; loadGraph(params: LoadGraphParams): Promise; deployGraph(params: DeployGraphParams): Promise; }