/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ /** The events a draft changed, by their elements' keys — none outside a Plan of event kinds. */ export declare const PlanDraftedContext: import("react").Context>; /** The events holding a conflict not yet chosen, by their elements' keys — the warn ring's; none outside a Plan of event kinds. */ export declare const PlanConflictedContext: import("react").Context>; /** * The events whose rows break their kind's bounds (#1585), stored or changed, by their elements' keys — the warn ring's, * as a conflict's; none outside a Plan of event kinds. */ export declare const PlanBoundedContext: import("react").Context>; /** * The table cells holding a conflict not yet chosen (#1438), by their rows' keys: the instants each row's conflicts are * at — a crew's week — whose cells wear the warn ring; none outside a Plan whose rows a session drafts. */ export declare const PlanConflictCellsContext: import("react").Context>; /** * The instants a row's cells hold a conflict at, not yet chosen. * * @param rowKey - The row's key * @returns Its conflicts' instants; none for a row with none */ export declare function usePlanRowConflicts(rowKey: string): readonly Date[]; /** * Whether an element's event holds a conflict not yet chosen: the element * wears the warn ring (the conflicts design's canvas marks). * * @param key - The element's key * @returns Whether its event holds one */ export declare function usePlanElementConflicted(key: string): boolean; /** * Whether an element's event's row breaks its kind's bounds: the element wears the warn ring, as a conflict's does. * * @param key - The element's key * @returns Whether its row breaks one */ export declare function usePlanElementBounded(key: string): boolean; /** * Whether an element's event is drafted: the element wears the drafted look. * * @param key - The element's key * @returns Whether a draft changed its event */ export declare function usePlanElementDrafted(key: string): boolean; //# sourceMappingURL=element-draft.d.ts.map