/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import { type SourcesChrome } from "./visibility.js"; /** * Writes a builder's window into its event kind's source of the slice, and * back whenever the source's range moves elsewhere. * * @param chrome - The payload's slice chrome; `undefined` with no slice * @param source - The source's name: the event kind's slot, or `reference`, the record the check reads * @param from - The window's start * @param to - The window's end, half open * @param refused - What the builder says when the window cannot be written, and the source gives no reason * @returns Why the window could not be written, if it could not */ export declare function useSourceWindow(chrome: SourcesChrome | undefined, source: string, from: Date, to: Date, refused: string): string | undefined; //# sourceMappingURL=source-window.d.ts.map