/** * @module text-edit.mts Provides the API Function Info to edit an ibgib's `data.text`. This is commonly found on a CommentIbGib_V1. * * ## notes * * ### ordering imports * * import sections always go: * 1. non-ibgib deps first * 2. @ibgib/helper-gib, @ibgib/encrypt-gib, @ibgib/ts-gib, @ibgib/core-gib packages (in that order) * 3. import GLOBAL_LOG_A_LOT then remaining project imports * 4. code proper starts with the definition of `const logalot` (if applicable) * * Each section is separated by a blank line. */ import { IbGib_V1 } from '@ibgib/ts-gib/dist/V1/types.mjs'; import { APIFunctionInfo } from "../../api-types.mjs"; import { CommandDataBase } from "../command-types.mjs"; /** * agent is the broad command which basically acts like a category of commands at this point. */ declare const CMD_CATEGORY = "ibgib"; /** * */ declare const CMD_MODIFIERS: string[]; /** * @interface EditIbGibTextOpts - Options for the mut8IbGib command. * * @extends CommandDataBase */ interface EditIbGibTextOpts extends CommandDataBase { spaceId?: string; /** * @property ibGibAddr - The address (or tjp address) of the project ibGib to edit. */ ibGibAddr: string; /** * @property newText - The new text to set for the ibGib's data.text property. */ newText: string; } /** * Wrapper function to enqueue the mut8IbGib command. * @param {EditIbGibTextOpts} opts - @see {@link EditIbGibTextOpts} * @returns {Promise} A promise that resolves when the command finishes execution. */ declare function viaCmd(opts: EditIbGibTextOpts): Promise; /** * API function info for the mut8IbGib command. */ export declare const editTextFunctionInfo: APIFunctionInfo; export {}; //# sourceMappingURL=text-edit.d.mts.map