import type { Component } from "../../runtime/component.ts"; export interface ComposerSuggestion { readonly id: string; readonly label: string; readonly description?: string; } export interface ComposerClusterTheme { readonly border?: (text: string) => string; readonly selectedPrefix?: (text: string) => string; readonly selectedSuggestion?: (text: string) => string; readonly suggestion?: (text: string) => string; readonly description?: (text: string) => string; readonly topLabel?: (text: string) => string; readonly bottomLabel?: (text: string) => string; } export interface ComposerClusterOptions { readonly input: Component; readonly suggestions?: readonly ComposerSuggestion[]; readonly selectedSuggestionIndex?: number; readonly paddingX?: number; readonly topLabel?: string; readonly topRightLabel?: string; readonly bottomLeftLabel?: string; readonly bottomRightLabel?: string; readonly theme?: ComposerClusterTheme; } export declare class ComposerCluster implements Component { private readonly options; constructor(options: ComposerClusterOptions); render(width: number, height?: number): string[]; private renderSuggestionLines; private renderSuggestion; private boxLine; private topBorder; private bottomBorder; private borderWithLabels; private border; private selectedPrefix; private selectedSuggestion; private suggestion; private description; private topLabel; private bottomLabel; } //# sourceMappingURL=cluster.d.ts.map