import type { PluginWorkerDefinition } from '../../../types/index.js';
/**
 * Registers workers from a plugin.
 * Cron workers start their interval immediately.
 * Event and manual workers are registered for invocation.
 */
export declare function registerPluginWorkers(pluginId: string, workers: readonly PluginWorkerDefinition[]): string[];
/**
 * Unregisters all workers belonging to a plugin and cancels any active intervals.
 */
export declare function unregisterPluginWorkers(pluginId: string): string[];
/**
 * Invokes a manual worker by plugin ID and worker name.
 */
export declare function invokeManualWorker(pluginId: string, workerName: string): Promise<void>;
/**
 * Returns the count of workers registered for a specific plugin.
 */
export declare function getPluginWorkerCount(pluginId: string): number;
/**
 * Clears all workers and cancels intervals (for testing).
 */
export declare function clearWorkerRegistry(): void;
//# sourceMappingURL=worker-extension.d.ts.map