/** * ATP Task Decorator * * Decorator for OpenClaw tasks that adds ATP security metadata and validation */ import type { TaskSecurityMetadata } from './types.js'; /** * Decorator to protect a task with ATP security * * @example * ```typescript * @atpProtectedTask({ * requiredTrust: 0.9, * policy: "financial_operations", * dataClassification: "financial" * }) * async function executeTradeTask(params) { * // Task implementation * } * ``` */ export declare function atpProtectedTask(securityConfig: Partial): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Helper to extract ATP metadata from a task function */ export declare function getTaskSecurityMetadata(taskFunction: Function): TaskSecurityMetadata | null; /** * Create ATP task metadata for SimpleTask */ export declare function createTaskMetadata(config: Partial): { atp: TaskSecurityMetadata; }; //# sourceMappingURL=decorator.d.ts.map