import { optional } from '@synnaxlabs/x'; import { Dispatch, SetStateAction } from 'react'; import { z } from 'zod'; import { Aether } from '../aether'; import { log } from './aether'; export interface UseProps extends optional.Optional, "region" | "scrollPosition" | "scrollback" | "empty" | "scrolling" | "resumedAt" | "wheelPos" | "selectionStart" | "selectionEnd" | "visibleStart" | "selectedText" | "selectedLines" | "computedLineHeight" | "channelNames" | "channelDataTypes">, "visible">, Aether.ComponentProps { /** Controlled pause state. When set, the log pauses scrolling while true. */ hold?: boolean; /** Called when the pause state changes from inside the log: a scroll up or the H * trigger pauses it, scrolling back to the bottom resumes it. Controlled callers * must reflect the value back through hold. */ onHold?: (hold: boolean) => void; } export type LogState = z.output; export interface UseReturn { state: LogState; setState: Dispatch>; } export declare const use: ({ aetherKey, font, visible, channelNamesHidden, receiptTimestampHidden, timestampPrecision, channels: rawChannels, color, telem, hold, onHold, }: UseProps) => UseReturn; //# sourceMappingURL=use.d.ts.map