export declare abstract class QueryBuilder { __query: string; constructor(); protected __attr(attr: string): this; _(str: string): this; protected __child( childName: string, childType: new () => T, builder?: string | ((q: T) => T) | T ): this; protected __inlineFragment( childName: string, childType: new () => T, builder?: string | ((q: T) => T) | T ): this; protected __buildChild( childType: new () => T, builder?: string | ((q: T) => T) | T ): void; toString(): string; }