import type { Command } from 'commander';
type CliPosthogExceptionKind = 'unhandled_error';
interface CapturePosthogExceptionPayload {
    error: unknown;
    functionName: string;
    kind: CliPosthogExceptionKind;
    status?: number;
}
export declare function isTruthyEnvValue(value: string | undefined): boolean;
export declare function shouldCapturePosthogException(error: unknown): boolean;
export declare function getCommandPath(command: Command): string;
export declare function capturePosthogException(payload: CapturePosthogExceptionPayload): Promise<boolean>;
export {};
