UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

37 lines (36 loc) 981 B
/** * Represents a structured parameter entry. * * @private type of ParameterSection */ type StructuredParameterEntry = { name: string; value: string; jsonValue: string | null; }; /** * Formats the placeholder used in the prompt body for a parameter. * * @param name Parameter placeholder name. * * @private function of ParameterSection */ declare function formatParameterPlaceholder(name: string): string; /** * Builds the structured parameters section appended to the prompt. * * @param items Parameter entries to include. * * @private function of ParameterSection */ declare function buildParametersSection(items: StructuredParameterEntry[]): string; /** * Provides helpers for rendering structured parameter placeholders. * * @private helper of prompt notation */ export declare const ParameterSection: { formatParameterPlaceholder: typeof formatParameterPlaceholder; buildParametersSection: typeof buildParametersSection; }; export {};