import type { Example, Program, Type, Value } from "@typespec/compiler"; import { type HttpOperation, type HttpProperty } from "@typespec/http"; import type { ExperimentalParameterExamplesStrategy } from "./lib.js"; import type { OpenAPI3MediaType } from "./types.js"; import type { SharedHttpOperation } from "./util.js"; export interface OperationExamples { requestBody: Record; parameters: Record; responses: Record>; } type ResolveOperationExamplesOptions = { parameterExamplesStrategy?: ExperimentalParameterExamplesStrategy; }; export declare function resolveOperationExamples(program: Program, operation: HttpOperation | SharedHttpOperation, { parameterExamplesStrategy }: ResolveOperationExamplesOptions): OperationExamples; export declare function getExampleOrExamples(program: Program, examples: [Example, Type][]): Pick; export declare function getStatusCodeValue(value: Value, properties: HttpProperty[]): number | undefined; export declare function getContentTypeValue(value: Value, properties: HttpProperty[]): string | undefined; export declare function getBodyValue(value: Value, properties: HttpProperty[]): Value | undefined; export declare function serializeExample(program: Program, value: Value, type: Type): unknown | undefined; export {}; //# sourceMappingURL=examples.d.ts.map