agsamantha/node_modules/langchain/dist/smith/progress.d.ts

23 lines
560 B
TypeScript
Raw Normal View History

2024-10-02 20:15:21 +00:00
export declare class ProgressBar {
total: number;
current: number;
barLength: number;
format: string;
constructor(props: {
total: number;
format?: string;
barLength?: number;
});
initialize(): void;
update({ current, formatArgs, }: {
current: number;
formatArgs?: Record<string, string>;
}): void;
increment({ formatArgs, }?: {
formatArgs?: Record<string, string>;
}): void;
complete({ formatArgs }?: {
formatArgs?: Record<string, string>;
}): void;
}