import { AnyRouter } from '@trpc/server'; import { Operation, TRPCLink } from './types'; export declare function splitLink(opts: { condition: (op: Operation) => boolean; /** * The link to execute next if the test function returns `true`. */ true: TRPCLink | TRPCLink[]; /** * The link to execute next if the test function returns `false`. */ false: TRPCLink | TRPCLink[]; }): TRPCLink; //# sourceMappingURL=splitLink.d.ts.map