/**
 * Trail command — fetch or publish trails to the Principal ADE backend.
 *
 * Resolves a GitHub token locally (gh CLI → git credential helper) and calls
 * the web-ade trail API with `Authorization: Bearer <token>`. The token is
 * never echoed to argv, env, stdout, or stderr. stdout is trail JSON (fetch)
 * or the share URL (publish) only.
 */
import { Command } from 'commander';
export type ViewerLaunch = {
    kind: 'installed';
    bin: string;
} | {
    kind: 'source';
    dir: string;
};
export declare function resolveViewerLaunch(flag: string | undefined): ViewerLaunch;
export declare function createTrailCommand(): Command;
//# sourceMappingURL=trail.d.ts.map