import { TailorAnyDBType } from "../configure/services/tailordb/types.mjs"; //#region src/plugin/get-generated-table.d.ts /** * Get a generated table from a plugin by loading the config and resolving everything automatically. * For table-attached plugins, calls onTableLoaded() with the source table. * For namespace plugins, calls onNamespaceLoaded() with auto-resolved namespace. * Results are cached per config path, plugin, namespace, and pluginConfig to avoid redundant processing. * @param configPath - Path to tailor.config.ts (absolute or relative to cwd) * @param pluginId - The plugin's unique identifier * @param sourceTable - The source TailorDB table (null for namespace plugins) * @param kind - The generated table kind (e.g., "request", "step") * @returns The generated TailorDB table */ export declare function getGeneratedTable(configPath: string, pluginId: string, sourceTable: TailorAnyDBType | null, kind: string): Promise; /** * Get a table with the fields its attached plugins add to it, as `tailor generate` sees it. * The plugins attached with `.plugin()` run in order, each seeing the fields the ones before * it added, and the result is cached per config path and table. * The table exported from the source file is not changed; the returned table is a new object. * Returns the source table itself when no plugin is attached to it, or when the config is * not available (e.g. in a bundled executor on the platform server). * @template T - The source table's own type, which the returned table keeps * @param configPath - Path to tailor.config.ts (absolute or relative to cwd) * @param sourceTable - The TailorDB table as exported from its source file * @returns The table with every plugin-added field */ export declare function getExtendedTable(configPath: string, sourceTable: T): Promise; //#endregion