import { Operation, Parameter } from '@autorest/codemodel'; import { AutorestExtensionHost as Host } from '@autorest/extension-base'; import { PwshModel } from '../utils/PwshModel'; import { ModelState } from '../utils/model-state'; import { CommandOperation, CommandType } from '../utils/command-operation'; type State = ModelState; export declare function titleToAzureServiceName(title: string): string; interface CommandVariant { alias: Array; verb: string; subject: string; subjectPrefix: string; variant: string; action: string; } export declare class Inferrer { private state; commonParameters: string[]; verbMap: { [operationIdMethod: string]: string; }; prefix: string; serviceName: string; subjectPrefix: string; isAzure: boolean; supportJsonInput: boolean; constructor(state: State); init(): Promise; createCommands(): Promise; /** * Judge if the response of get operation can be piped as the input of put operation * 1. there is only one put request schema * 2. get operation response schema type is the same as put operation request schema type */ private supportsGetPut; private containsIdentityType; private IsManagedIdentityOperation; inferCommand(operation: Array, group: string, suffix?: Array): Array; inferCommandNames(op: Operation, group: string, state: State): Promise>; addVariant(vname: string, body: Parameter | null, bodyParameterName: string, parameters: Array, operation: Operation, variant: CommandVariant, state: State, preOperations: Array | undefined, commandType?: CommandType): Promise; operationIdentities: Set; addCommandOperation(vname: string, parameters: Array, operation: Operation, variant: CommandVariant, state: State, preOperations: Array | undefined, commandType?: CommandType): Promise; addVariants(parameters: Array | undefined, operation: Operation, variant: CommandVariant, vname: string, state: State, preOperations?: Array, commandType?: CommandType): Promise; reservedPathParam: Set; createCommandVariant(action: string, subject: Array, variant: Array, model: PwshModel): CommandVariant; getPowerShellVerb(action: string): string; } export declare function createCommandsV2(service: Host): Promise; export {}; //# sourceMappingURL=create-commands-v2.d.ts.map