import { BaseIndex } from '../indexes'; import { Hydratable, ModelConstructor } from '../hydrate'; import { BaseQuery } from './base'; import { MultiQuery } from './multi'; /** * * Represents a query that resolves to a single model instance, * indexed by a primary key. * */ export declare class PrimaryExact extends BaseQuery { readonly param: T; constructor(i: BaseIndex, param: T); protected operation(): import("../operators").Operation; /** * * @returns a hydrated model instance, or undefined if no match is found. * */ get(constructor: ModelConstructor): Promise; } /** * * Represents a query that resolves to an exact value, * indexed by a secondary key. * */ export declare class SecondaryExact extends MultiQuery { constructor(i: BaseIndex, param: T); } export declare type Exact = PrimaryExact | SecondaryExact;