import { IQuery } from '../interfaces'; import { RESULT_TYPE_SYMBOL } from './constants'; /** * Utility type to extract the result type of a query. */ export type QueryResult> = C extends Query ? R : never; export declare class Query implements IQuery { readonly [RESULT_TYPE_SYMBOL]: T; }