import { SdkContext, SdkType } from "@azure-tools/typespec-client-generator-core"; import { JSONSchemaType } from "@typespec/compiler"; export interface PythonEmitterOptions { "api-version"?: string; license?: { name: string; company?: string; link?: string; header?: string; description?: string; }; "package-version"?: string; "package-name"?: string; "generate-packaging-files"?: boolean; "packaging-files-dir"?: string; "packaging-files-config"?: object; "package-pprint-name"?: string; "head-as-boolean"?: boolean; "use-pyodide"?: boolean; "keep-setup-py"?: boolean; "keep-pyproject-fields"?: { authors?: boolean; description?: boolean; classifiers?: boolean; urls?: boolean; }; "clear-output-folder"?: boolean; "emit-yaml-only"?: boolean; } export interface PythonSdkContext extends SdkContext { __endpointPathParameters: Record[]; __typesMap: Map>; __simpleTypesMap: Map>; __disableGenerationMap: Set; } export declare const PythonEmitterOptionsSchema: JSONSchemaType; export declare const $lib: import("@typespec/compiler").TypeSpecLibrary<{ "unknown-error": { readonly default: import("@typespec/compiler").CallableMessage<["stack"]>; }; "pyodide-flag-conflict": { readonly default: "Python is not installed. Please follow https://www.python.org/ to install Python or set 'use-pyodide' to true."; }; "no-sdk-clients": { readonly default: "The Python emitter did not find any SDK clients in this TypeSpec program. The current Python generator expects at least one client/service to generate code."; }; "browser-runtime-load-failed": { readonly default: import("@typespec/compiler").CallableMessage<["details"]>; }; "invalid-paging-items": { readonly default: import("@typespec/compiler").CallableMessage<["operationId"]>; }; "invalid-next-link": { readonly default: import("@typespec/compiler").CallableMessage<["operationId"]>; }; "invalid-lro-result": { readonly default: import("@typespec/compiler").CallableMessage<["operationId"]>; }; "invalid-continuation-token": { readonly default: import("@typespec/compiler").CallableMessage<["direction", "operationId"]>; }; }, PythonEmitterOptions, never>; export declare const reportDiagnostic: ; }; "pyodide-flag-conflict": { readonly default: "Python is not installed. Please follow https://www.python.org/ to install Python or set 'use-pyodide' to true."; }; "no-sdk-clients": { readonly default: "The Python emitter did not find any SDK clients in this TypeSpec program. The current Python generator expects at least one client/service to generate code."; }; "browser-runtime-load-failed": { readonly default: import("@typespec/compiler").CallableMessage<["details"]>; }; "invalid-paging-items": { readonly default: import("@typespec/compiler").CallableMessage<["operationId"]>; }; "invalid-next-link": { readonly default: import("@typespec/compiler").CallableMessage<["operationId"]>; }; "invalid-lro-result": { readonly default: import("@typespec/compiler").CallableMessage<["operationId"]>; }; "invalid-continuation-token": { readonly default: import("@typespec/compiler").CallableMessage<["direction", "operationId"]>; }; }[C]>(program: import("@typespec/compiler").Program, diag: import("@typespec/compiler").DiagnosticReport<{ "unknown-error": { readonly default: import("@typespec/compiler").CallableMessage<["stack"]>; }; "pyodide-flag-conflict": { readonly default: "Python is not installed. Please follow https://www.python.org/ to install Python or set 'use-pyodide' to true."; }; "no-sdk-clients": { readonly default: "The Python emitter did not find any SDK clients in this TypeSpec program. The current Python generator expects at least one client/service to generate code."; }; "browser-runtime-load-failed": { readonly default: import("@typespec/compiler").CallableMessage<["details"]>; }; "invalid-paging-items": { readonly default: import("@typespec/compiler").CallableMessage<["operationId"]>; }; "invalid-next-link": { readonly default: import("@typespec/compiler").CallableMessage<["operationId"]>; }; "invalid-lro-result": { readonly default: import("@typespec/compiler").CallableMessage<["operationId"]>; }; "invalid-continuation-token": { readonly default: import("@typespec/compiler").CallableMessage<["direction", "operationId"]>; }; }, C, M>) => void, createDiagnostic: ; }; "pyodide-flag-conflict": { readonly default: "Python is not installed. Please follow https://www.python.org/ to install Python or set 'use-pyodide' to true."; }; "no-sdk-clients": { readonly default: "The Python emitter did not find any SDK clients in this TypeSpec program. The current Python generator expects at least one client/service to generate code."; }; "browser-runtime-load-failed": { readonly default: import("@typespec/compiler").CallableMessage<["details"]>; }; "invalid-paging-items": { readonly default: import("@typespec/compiler").CallableMessage<["operationId"]>; }; "invalid-next-link": { readonly default: import("@typespec/compiler").CallableMessage<["operationId"]>; }; "invalid-lro-result": { readonly default: import("@typespec/compiler").CallableMessage<["operationId"]>; }; "invalid-continuation-token": { readonly default: import("@typespec/compiler").CallableMessage<["direction", "operationId"]>; }; }[C]>(diag: import("@typespec/compiler").DiagnosticReport<{ "unknown-error": { readonly default: import("@typespec/compiler").CallableMessage<["stack"]>; }; "pyodide-flag-conflict": { readonly default: "Python is not installed. Please follow https://www.python.org/ to install Python or set 'use-pyodide' to true."; }; "no-sdk-clients": { readonly default: "The Python emitter did not find any SDK clients in this TypeSpec program. The current Python generator expects at least one client/service to generate code."; }; "browser-runtime-load-failed": { readonly default: import("@typespec/compiler").CallableMessage<["details"]>; }; "invalid-paging-items": { readonly default: import("@typespec/compiler").CallableMessage<["operationId"]>; }; "invalid-next-link": { readonly default: import("@typespec/compiler").CallableMessage<["operationId"]>; }; "invalid-lro-result": { readonly default: import("@typespec/compiler").CallableMessage<["operationId"]>; }; "invalid-continuation-token": { readonly default: import("@typespec/compiler").CallableMessage<["direction", "operationId"]>; }; }, C, M>) => import("@typespec/compiler").Diagnostic; //# sourceMappingURL=lib.d.ts.map