import { Environment, OperationType, ParserField, ParserTree } from '../Models'; export interface OperationName { name: string; type: 'operation'; } export interface ResolvedOperations { query: OperationDetails; mutation: OperationDetails; subscription: OperationDetails; } export interface OperationDetails { operationName?: OperationName; operations: string[]; } interface JSFilesOutput { javascript: string; definitions: string; } export declare class TreeToTS { static findOperations(nodes: ParserField[], ot: OperationType): OperationDetails; static resolveOperations(tree: ParserTree): ResolvedOperations; static resolveBasisHeader(): string; static resolveBasisCodeJavascript(tree: ParserTree): string; static resolveBasisCode(tree: ParserTree): string; static resolveBasisTypes(tree: ParserTree): string; static javascript(tree: ParserTree, env?: Environment, host?: string): JSFilesOutput; static resolveTree(tree: ParserTree, env?: Environment, host?: string): string; } export {};