import { IRpcClient } from "../rpc"; export declare type Search = DeepPartial & ILimit; export declare type DeepPartial = { [P in keyof T]?: DeepPartial; }; export declare type RepoEntity = TRepo extends Repo ? TEntity : unknown; export declare type RepoSearch = TRepo extends Repo ? TSearch : unknown; export declare class Repo { /** The rpc client. */ readonly client: IRpcClient; /** * The type name of entity * * @remarks Used in all requests dispatched from `Repo` to denote what object type to * return. * */ readonly typeName: string; constructor( /** The rpc client. */ client: IRpcClient, /** * The type name of entity * * @remarks Used in all requests dispatched from `Repo` to denote what object type to * return. * */ typeName: string); } export interface ILimit { /** * The maximum number of records to return. The default and the maximum value varies per * retrieval method and per repository. * * @see {@link https://geotab.github.io/sdk/software/api/reference/#M:Geotab.Checkmate.Database.DataStore.Get1} * @see {@link https://geotab.github.io/sdk/software/api/reference/#M:Geotab.Checkmate.Database.DataStore.GetFeed1} */ limit?: number; } //# sourceMappingURL=types.d.ts.map