import { AuthorizeFunction, GraphQlQueryConfig, GraphQlQueryContract, ResourceContract, GraphQlMiddleware } from '@tensei/common'; export declare class GraphQlQuery implements GraphQlQueryContract { config: GraphQlQueryConfig; constructor(name?: string); resource(resource: ResourceContract<'graphql'>): this; path(path: string): this; description(description: string): this; query(): this; mutation(): this; subscription(): this; custom(): this; authorize(authorize: AuthorizeFunction): this; middleware(...middleware: GraphQlMiddleware[]): this; handle(handler: GraphQlQueryConfig['handler']): this; filter(filter: GraphQlQueryConfig['filter']): this; internal(): this; } export declare const graphQlQuery: (name?: string | undefined) => GraphQlQuery;