/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ /** The check, as the status line says it. */ export interface QueryCheckLine { /** Its dot's tone. */ readonly tone: "success" | "warning" | "danger"; /** Its word: "Checks clean", "2 to finish", "1 problem". */ readonly word: string; } /** The shape the query gives, as the status line says it. */ export interface QueryGivesLine { /** "Gives up to 10 shipped orders". */ readonly text: string; /** Its East type and multiplicity, on hover. */ readonly hover: string; /** Its fields: "· order, customer, total". */ readonly fields: string; } /** The save state, as the status line says it. */ export interface QuerySaveLine { /** Saved, drafts not yet saved, or never saved. */ readonly state: "saved" | "unsaved" | "new"; /** Whether it saved just now: its dot is the success ink for a moment, then quiet. */ readonly fresh: boolean; /** Its word. */ readonly word: string; } /** Props of {@link QueryStatusLine}. */ export interface QueryStatusLineProps { /** The check. */ readonly check: QueryCheckLine; /** The shape the query gives, when it is known. */ readonly gives: QueryGivesLine | undefined; /** The save state. */ readonly save: QuerySaveLine; /** The query's name. */ readonly name: string; } /** * Renders the status line — see the module docs. * * @param props - The check, the shape, the save state and the name ({@link QueryStatusLineProps}) * @returns The status line */ export declare const QueryStatusLine: import("react").MemoExoticComponent<({ check, gives, save, name }: QueryStatusLineProps) => import("react/jsx-runtime").JSX.Element>; //# sourceMappingURL=status-line.d.ts.map