import type { BettererLog, BettererLogs } from '@betterer/logger';
import type { FC } from '@betterer/render';
/**
* @internal This could change at any point! Please don't use!
*
* `props` type for {@link BettererTaskLogger | ``}.
*/
export interface BettererTaskResultProps {
/**
* Any error thrown by the {@link BettererTask | `BettererTask`}. It will be `null` if the task completed successfully.
*/
error: Error | null;
/**
* The name of the {@link BettererTask | `BettererTask`} that is shown to the user.
*/
name: string;
/**
* All the logs of the {@link BettererTask | `BettererTask`}.
*/
logs: BettererLogs;
/**
* The final status of the {@link BettererTask | `BettererTask`}.
*/
status: BettererLog | null;
}
/**
* @internal This could change at any point! Please don't use!
*
* Ink component for rendering the final result of a single {@link BettererTask | `BettererTask`}.
*/
export declare const BettererTaskResult: FC;
//# sourceMappingURL=TaskResult.d.ts.map