import type { PipelineStateValueV1, PipelineStatusValue } from '../../../../../../sdk/pipeline/types'; export type ManageHeaderStartStop = 'start' | 'stop'; export interface GetManageHeaderStartStopParams { /** Lifecycle status from the pipeline status endpoint (`useGetPipelineStatusQuery`). */ pipelineStatus?: PipelineStatusValue; /** Collector run state (`cdc` / `initial-sync` / `not-running`), when available. */ pipelineState?: PipelineStateValueV1; /** * When true, the status query failed (e.g. HTTP 500). Product guidance: defaulting * to either Start or Stop is acceptable; we default to Stop to match the prior menu. */ statusQueryFailed?: boolean; } /** * Returns whether the manage header menu should show **Start pipeline** or **Stop pipeline** * from lifecycle status and collector state. * * Defaults to **Stop** when status is unknown or the status query failed, per product * feedback (either default is acceptable; Stop matches the legacy menu). */ export declare const getManageHeaderStartStop: ({ pipelineStatus, pipelineState, statusQueryFailed }: GetManageHeaderStartStopParams) => ManageHeaderStartStop;