import type { PortableTool } from "../portable-tool.js";
export declare const MEDIA_CANCEL_TOOL_NAME: "media_cancel";
export interface MediaCancelToolParams {
    task_id: string;
    provider?: string;
}
export declare const MEDIA_CANCEL_TOOL_SCHEMA: {
    readonly type: "object";
    readonly properties: {
        readonly task_id: {
            readonly type: "string";
            readonly description: "The task ID of the media generation to cancel (returned in previous generation results).";
        };
        readonly provider: {
            readonly type: "string";
            readonly description: "Provider name (e.g. 'doubao', 'zhipu'). If omitted, auto-detects from task context.";
        };
    };
    readonly required: readonly ["task_id"];
};
export interface MediaCancelToolDeps {
    cancelTask(params: {
        taskId: string;
        provider?: string;
    }): Promise<{
        ok: boolean;
        message: string;
    }>;
}
export declare function createMediaCancelTool(deps: MediaCancelToolDeps): PortableTool<MediaCancelToolParams>;
