Initial import
This commit is contained in:
commit
02e421c1f1
1 changed files with 8130 additions and 0 deletions
13
dist/types/index.d.ts
generated
vendored
Normal file
13
dist/types/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import { ProgressNotification, PingRequest } from "./schema.js";
|
||||
export * from "./schema.js";
|
||||
export declare const CONNECTION_CLOSED_ERROR = -1;
|
||||
export declare class McpError extends Error {
|
||||
readonly code: number;
|
||||
readonly data?: unknown;
|
||||
constructor(code: number, message: string, data?: unknown);
|
||||
}
|
||||
export type Progress = Pick<ProgressNotification["params"], "progress" | "total">;
|
||||
export declare const PROGRESS_NOTIFICATION_METHOD: ProgressNotification["method"];
|
||||
export declare const PING_REQUEST_METHOD: PingRequest["method"];
|
||||
export type RequestId = string | number;
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
Loading…
Reference in a new issue