agsamantha/node_modules/langchain/dist/smith/progress.d.ts
2024-10-02 15:15:21 -05:00

22 lines
560 B
TypeScript

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;
}