UNPKG

httpyac

Version:

HTTP/REST CLI Client for *.http files

19 lines (18 loc) 957 B
import { HookInterceptor, HookTriggerContext } from 'hookpoint'; import * as models from '../../models'; export declare function parseProtoImport(getLineReader: models.getHttpLineGenerator, context: models.ParserContext): Promise<models.HttpRegionParserResult>; export declare class ProtoImportAction { private readonly protoDefinition; id: string; constructor(protoDefinition: models.ProtoDefinition); process(context: models.ProtoProcessorContext): Promise<boolean>; private convertLoaderOptions; } type ExecuteInterceptor = HookInterceptor<[models.ProtoProcessorContext], boolean | void>; export declare class ProtoDefinitionCreationInterceptor implements ExecuteInterceptor { private readonly protoDefinition; id: string; constructor(protoDefinition: models.ProtoDefinition); beforeLoop(hookContext: HookTriggerContext<[models.ProtoProcessorContext], boolean | undefined>): Promise<boolean | undefined>; } export {};