UNPKG

@scalar/api-client

Version:

the open source API testing client

8 lines 433 B
import type { ErrorResponse } from '../../../../libs/errors.js'; import { type ClientId, type TargetId } from '@scalar/snippetz'; import type { Request as HarRequest } from 'har-format'; /** * Returns a code example for given operation */ export declare const getSnippet: <T extends TargetId>(target: T | "javascript", client: ClientId<T>, harRequest: HarRequest) => ErrorResponse<string>; //# sourceMappingURL=get-snippet.d.ts.map