import { z } from 'zod';
import type { ApifyClient } from '../../apify_client.js';
import type { HelperTool } from '../../types.js';
/**
 * Zod schema for get-actor-run arguments — shared between default and openai variants.
 */
export declare const getActorRunArgs: z.ZodObject<{
    runId: z.ZodString;
}, z.core.$strip>;
/**
 * Shared tool metadata for get-actor-run — everything except the `call` handler.
 * Used by both default and openai variants.
 */
export declare const getActorRunMetadata: Omit<HelperTool, 'call'>;
/**
 * Structured content returned from fetching actor run data.
 */
export type ActorRunStructuredContent = {
    runId: string;
    actorName?: string;
    status: string;
    startedAt: string;
    finishedAt?: string;
    stats?: unknown;
    dataset?: {
        datasetId: string;
        totalItemCount: number;
        previewItemCount: number;
        schema: unknown;
        previewItems: unknown[];
    };
};
/**
 * Result of fetching actor run data — shared between both variants.
 */
export type FetchActorRunResult = {
    run: Record<string, unknown>;
    structuredContent: ActorRunStructuredContent;
};
/**
 * Fetches actor run data, resolves actor name, and fetches dataset results if completed.
 * Shared data-fetching logic used by both default and openai variants.
 *
 * Returns the run data and structured content, or an early error response.
 */
export declare function fetchActorRunData(params: {
    runId: string;
    client: ApifyClient;
    mcpSessionId?: string;
}): Promise<{
    error: object;
} | {
    result: FetchActorRunResult;
}>;
//# sourceMappingURL=get_actor_run_common.d.ts.map