import { Api } from './Api'; import { ApiGateway } from './ApiGateway'; import { Func } from '../types/Func'; import { Uri, UriExpandProps } from '../types/Uri'; import { PageList } from '../types/PageList'; import { Json, JsonValue } from '../types/Json'; import { Id } from '../types/Id'; import { Optional } from '../types/Types'; import { List } from '../types/List'; export declare class RouteGateway extends ApiGateway { readonly route: Func>; readonly routeId: Func>; readonly api: Api; constructor(route: Func>, routeId: Func>, api?: Api); all(options?: Props): Promise>; byId(id: Id): Promise>; byIds(...ids: Id[]): Promise>; search(q: JsonValue, options?: Props): Promise>; exists(id: Id): Promise; add(item: Json): Promise; filter(options?: Props): Promise>; update(item: Json): Promise; upsert(item: Json): Promise; remove(id: Id): Promise; }