import { APIFunctionInfo } from "../api-types.mjs"; /** * customizing function to create the schema specific to some concrete schema * description/instructions. */ export declare function tweakGeminiSchema({ baseSchema, addlDescription, }: { /** * starting schema which we will customize. */ baseSchema: any; /** * additional description, to be used for concrete schema descriptions. * If there is no description to begin with, this will simply set the * description. * * For example, with destroy renderable, describe that this will recursively * destroy children. With update renderable, this will apply the changes * recursively to all children (like setting color). */ addlDescription?: string; }): { type: 'boolean'; description: string; }; /** * wraps the given {@link fn} inside of a {@link APIFunctionInfo} that can be * executed on the api command service. * * ## intent * * I want to be able to execute certain functions serially similar to a barrier * or critical section. This was the "easiest" way for me to do it, since each * command is executed serially on the commanding service. And I didn't want to * have to create APIFunctionInfo objects for things that will not be exposed to * agents proper. * * ## NOT for agents' use * * because this is anon function, there is NO schema generated. So this can't be * used with agents directly. */ export declare function commandifyAnonFn Promise = (...args: any[]) => Promise>({ fn, nameOrId, cmdCategory, }: { fn: TFunc; nameOrId?: string; cmdCategory?: string; }): APIFunctionInfo; //# sourceMappingURL=command-helpers.d.mts.map