import { Context, Next } from '@tego/server';
export declare function create(ctx: Context, next: any): Promise<void>;
export declare function destroy(ctx: Context, next: any): Promise<void>;
export declare function update(ctx: Context, next: any): Promise<void>;
export declare function moveUp(ctx: Context, next: any): Promise<void>;
export declare function moveDown(ctx: Context, next: any): Promise<void>;
/**
 * 同步远程代码
 * 从远程地址获取代码并返回
 * 注意：此函数用于手动同步，总是获取最新代码并更新缓存
 * 缓存机制在 script.instruction.ts 中的节点执行时使用（直接使用数据库中的缓存，不检查时间戳）
 */
export declare function syncRemoteCode(ctx: Context, next: Next): Promise<void>;
