import { ASTNode } from 'graphql'; export declare const asArray: (fns: T | T[]) => T[]; export declare function isDocumentString(str: any): boolean; export declare function isValidPath(str: any): boolean; export declare function compareStrings(a: A, b: B): 1 | -1 | 0; export declare function nodeToString(a: ASTNode): string; export declare function compareNodes(a: ASTNode, b: ASTNode, customFn?: (a: any, b: any) => number): number; export declare function isSome(input: T): input is Exclude; export declare function assertSome(input: T, message?: string): asserts input is Exclude;