1 | import { Request } from '../base';
|
2 | import { Context, ReadonlyContext } from '../context';
|
3 | import { ContextBuilder } from '../context-builder';
|
4 | import { SelectFields } from '../select-fields';
|
5 | import { Result } from '../validation-result';
|
6 | import { ContextRunner } from './context-runner';
|
7 | export declare class ResultWithContext extends Result {
|
8 | readonly context: ReadonlyContext;
|
9 | constructor(context: ReadonlyContext);
|
10 | }
|
11 | export declare class ContextRunnerImpl implements ContextRunner {
|
12 | private readonly builderOrContext;
|
13 | private readonly selectFields;
|
14 | constructor(builderOrContext: ContextBuilder | Context, selectFields?: SelectFields);
|
15 | run(req: Request, options?: {
|
16 | dryRun?: boolean;
|
17 | }): Promise<ResultWithContext>;
|
18 | }
|