import type { KnowledgeService } from './service.js';
export interface KnowledgeGraphqlAccessProfile {
    readonly operation: 'query' | 'mutation';
    readonly requiredScopes: readonly string[];
    readonly adminRequired: boolean;
}
export declare function inspectKnowledgeGraphqlAccess(source: string, operationName?: string): KnowledgeGraphqlAccessProfile;
export interface KnowledgeGraphqlExecuteInput {
    readonly query: string;
    readonly operationName?: string | undefined;
    readonly variables?: Record<string, unknown> | undefined;
    readonly admin: boolean;
    readonly scopes: readonly string[];
}
export declare class KnowledgeGraphqlService {
    private readonly service;
    private static readonly schema;
    static readonly schemaSdl: string;
    constructor(service: KnowledgeService);
    get schemaText(): string;
    execute(input: KnowledgeGraphqlExecuteInput): Promise<import("graphql").ExecutionResult<import("graphql/jsutils/ObjMap.js").ObjMap<unknown>, import("graphql/jsutils/ObjMap.js").ObjMap<unknown>>>;
    private createRootValue;
}
export declare function getKnowledgeGraphqlSchemaText(): string;
//# sourceMappingURL=graphql.d.ts.map