@promptbook/legacy-documents
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
35 lines (34 loc) • 963 B
TypeScript
import { type ReactElement } from 'react';
/**
* Configuration for the shared clock panel used by time and timeout popups.
*
* @private function of ChatToolCallModal
*/
type RenderToolCallClockPanelOptions = {
/**
* Date rendered by the analog clock and local labels.
*/
date: Date;
/**
* Optional relative label.
*/
relativeLabel?: string | null;
/**
* Optional timezone label shown below the date.
*/
timezoneLabel?: string | null;
/**
* Optional BCP-47 locale string used to format the local time display.
*/
locale?: string;
};
/**
* Renders a shared analog-clock panel used by time and timeout tool views.
*
* @param options - Clock panel rendering options.
* @returns Clock section with local date/time labels.
*
* @private function of ChatToolCallModal
*/
export declare function renderToolCallClockPanel(options: RenderToolCallClockPanelOptions): ReactElement;
export {};