/** * Console output utilities with color support * Provides consistent formatting similar to the Python CLI */ /** * Output a success message (green) */ export declare function success(message: string): void; /** * Output an error message (red) */ export declare function error(message: string): void; /** * Output a warning message (yellow/orange) */ export declare function warning(message: string): void; /** * Output an info message (default color) */ export declare function info(message: string): void; /** * Output a highlighted message (blue) */ export declare function highlight(message: string): void; /** * Output a gray message (dimmed) */ export declare function gray(message: string): void; /** * Output a bold message */ export declare function bold(message: string): void; /** * Format a timestamp for console output */ export declare function formatTime(): string; /** * Format duration in human-readable format */ export declare function formatDuration(ms: number): string; /** * Show a resource change (checkmark + path + status) * @deprecated Use showChangesTable instead for table format */ export declare function showResourceChange(path: string, status: "created" | "changed" | "deleted"): void; /** * Resource change entry for table display */ export interface ResourceChange { status: "new" | "modified" | "deleted"; name: string; type: "datasource" | "pipe" | "connection"; } /** * Show changes table similar to Python CLI * Displays a formatted table of resource changes */ export declare function showChangesTable(changes: ResourceChange[]): void; /** * Show a warning for a resource */ export declare function showResourceWarning(level: string, resource: string, message: string): void; /** * Show build errors in formatted style */ export declare function showBuildErrors(errors: Array<{ filename?: string; error: string; }>): void; /** * Show final build success message */ export declare function showBuildSuccess(durationMs: number, isRebuild?: boolean): void; /** * Show final build failure message */ export declare function showBuildFailure(isRebuild?: boolean): void; /** * Show no changes message */ export declare function showNoChanges(): void; /** * Show waiting for deployment message */ export declare function showWaitingForDeployment(): void; /** * Show deployment ready message */ export declare function showDeploymentReady(): void; /** * Show deployment live message */ export declare function showDeploymentLive(deploymentId: string): void; /** * Show validating deployment message */ export declare function showValidatingDeployment(): void; /** * Show final deploy success message */ export declare function showDeploySuccess(durationMs: number): void; /** * Show final deploy failure message */ export declare function showDeployFailure(): void; /** * Branch info for display */ export interface BranchDisplayInfo { /** Git branch name */ gitBranch: string | null; /** Tinybird branch name */ tinybirdBranch: string | null; /** Whether the branch was newly created */ wasCreated: boolean; /** Dashboard URL for the branch */ dashboardUrl?: string; /** Whether using local mode */ isLocal?: boolean; } /** * Show branch information in a compact, styled format */ export declare function showBranchInfo(info: BranchDisplayInfo): void; /** * Info display data */ export interface InfoDisplayData { cloud?: { workspaceName: string; workspaceId: string; userEmail: string; apiHost: string; dashboardUrl?: string; token: string; }; local?: { running: boolean; workspaceName?: string; workspaceId?: string; apiHost: string; dashboardUrl?: string; token?: string; }; project?: { cwd: string; configPath: string; devMode: string; gitBranch: string | null; tinybirdBranch: string | null; isMainBranch: boolean; }; branch?: { name: string; id: string; token: string; dashboardUrl?: string; }; } /** * Show project and workspace info */ export declare function showInfo(data: InfoDisplayData): void; /** * Output object containing all output functions */ export declare const output: { success: typeof success; error: typeof error; warning: typeof warning; info: typeof info; highlight: typeof highlight; gray: typeof gray; bold: typeof bold; formatTime: typeof formatTime; formatDuration: typeof formatDuration; showResourceChange: typeof showResourceChange; showChangesTable: typeof showChangesTable; showResourceWarning: typeof showResourceWarning; showBuildErrors: typeof showBuildErrors; showBuildSuccess: typeof showBuildSuccess; showBuildFailure: typeof showBuildFailure; showNoChanges: typeof showNoChanges; showWaitingForDeployment: typeof showWaitingForDeployment; showDeploymentReady: typeof showDeploymentReady; showDeploymentLive: typeof showDeploymentLive; showValidatingDeployment: typeof showValidatingDeployment; showDeploySuccess: typeof showDeploySuccess; showDeployFailure: typeof showDeployFailure; showBranchInfo: typeof showBranchInfo; showInfo: typeof showInfo; }; //# sourceMappingURL=output.d.ts.map