/** * One-time GitHub star prompt shown at OMX startup. * Skipped when no TTY or when gh CLI is not installed. * State stored globally (~/.omx/state/star-prompt.json) so it shows once per user. */ import * as childProcess from 'child_process'; export declare function starPromptStatePath(): string; export declare function hasBeenPrompted(): Promise; export declare function markPrompted(): Promise; export declare function isGhInstalled(): boolean; export type StarRepoResult = { ok: true; } | { ok: false; error: string; }; interface MaybePromptGithubStarDeps { stdinIsTTY?: boolean; stdoutIsTTY?: boolean; hasBeenPromptedFn?: () => Promise; isGhInstalledFn?: () => boolean; markPromptedFn?: () => Promise; askYesNoFn?: (question: string) => Promise; starRepoFn?: () => StarRepoResult; logFn?: (message: string) => void; warnFn?: (message: string) => void; } export declare function starRepo(spawnSyncFn?: typeof childProcess.spawnSync): StarRepoResult; export declare function maybePromptGithubStar(deps?: MaybePromptGithubStarDeps): Promise; export {}; //# sourceMappingURL=star-prompt.d.ts.map