@promptbook/google
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
35 lines (34 loc) • 975 B
TypeScript
/**
* 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 {};