import { Database } from '../runtime/sqlite'; export declare function getGitProjectId(dir?: string): string | null; export declare function openDatabase(dbPath?: string): Database; export declare function truncate(str: string, maxLen: number): string; export declare function confirm(message: string): Promise; export declare function resolveProjectNames(): Map; export declare function resolveProjectIdByName(name: string): string | null; interface GlobalOptions { dbPath?: string; projectId?: string; dir?: string; help?: boolean; } interface ParsedGlobalOptions { globalOpts: GlobalOptions; remainingArgs: string[]; } export declare function parseGlobalOptions(args: string[]): ParsedGlobalOptions; export {}; //# sourceMappingURL=utils.d.ts.map