import * as t from "io-ts"; import { MappedDataSource } from "./MappedDataSource"; import { OperationMapping } from "./OperationMapping"; import { OperationResolver } from "./OperationResolver"; import { PaginationConfig } from "./PaginationConfig"; import { SourceAwareResolverContext } from "./SourceAwareResolverContext"; import { MappedSourceAwareOperation } from "./MappedSourceAwareOperation"; export declare const SourceAwareOperationMappingRT: t.IntersectionC<[t.IntersectionC<[t.TypeC<{ name: t.UnionC<[t.StringC, t.TypeC<{ stored: t.StringC; mapped: t.StringC; }>]>; }>, t.PartialC<{ description: t.StringC; singular: t.BooleanC; shallow: t.BooleanC; }>]>, t.PartialC<{ paginate: t.UnionC<[t.IntersectionC<[t.TypeC<{ cursorColumn: t.StringC; }>, t.PartialC<{ pageSize: t.UnionC<[t.NumberC, t.PartialC<{ max: t.NumberC; default: t.NumberC; }>]>; }>]>, t.IntersectionC<[t.PartialC<{ pageSize: t.UnionC<[t.NumberC, t.PartialC<{ max: t.NumberC; default: t.NumberC; }>]>; }>, t.TypeC<{ interceptQuery: t.FunctionC; getNextCursor: t.FunctionC; getPrevCursor: t.FunctionC; getTotalCount: t.FunctionC; }>]>]>; }>, t.TypeC<{ name: t.StringC; }>]>; /** * @api-category ConfigType */ export interface SourceAwareOperationMapping extends t.TypeOf, OperationMapping { resolver?: , TSrc, TArgs>, TResolved>(ctx: TCtx) => OperationResolver; paginate?: PaginationConfig; name: string; }