mirror of
https://github.com/jarrodwatts/claude-hud.git
synced 2026-05-21 15:52:37 +00:00
24 lines
1006 B
TypeScript
24 lines
1006 B
TypeScript
import { readStdin } from './stdin.js';
|
|
import { parseTranscript } from './transcript.js';
|
|
import { render } from './render/index.js';
|
|
import { countConfigs } from './config-reader.js';
|
|
import { getGitStatus } from './git.js';
|
|
import { getUsage } from './usage-api.js';
|
|
import { loadConfig } from './config.js';
|
|
import { parseExtraCmdArg, runExtraCmd } from './extra-cmd.js';
|
|
export type MainDeps = {
|
|
readStdin: typeof readStdin;
|
|
parseTranscript: typeof parseTranscript;
|
|
countConfigs: typeof countConfigs;
|
|
getGitStatus: typeof getGitStatus;
|
|
getUsage: typeof getUsage;
|
|
loadConfig: typeof loadConfig;
|
|
parseExtraCmdArg: typeof parseExtraCmdArg;
|
|
runExtraCmd: typeof runExtraCmd;
|
|
render: typeof render;
|
|
now: () => number;
|
|
log: (...args: unknown[]) => void;
|
|
};
|
|
export declare function main(overrides?: Partial<MainDeps>): Promise<void>;
|
|
export declare function formatSessionDuration(sessionStart?: Date, now?: () => number): string;
|
|
//# sourceMappingURL=index.d.ts.map
|