import type { ActorCallOptions } from 'apify-client';
import type { ApifyClient } from '../../apify_client.js';
import type { DatasetItem } from '../../types.js';
import type { ProgressTracker } from '../../utils/progress.js';
import type { JsonSchemaProperty } from '../../utils/schema_generation.js';
export type CallActorGetDatasetResult = {
    runId: string;
    datasetId: string;
    totalItemCount: number;
    previewItemCount: number;
    schema: JsonSchemaProperty;
    previewItems: DatasetItem[];
    usageTotalUsd?: number;
    usageUsd?: Record<string, number>;
};
/**
 * Calls an Apify Actor and retrieves metadata about the dataset results.
 *
 * This function executes an Actor and returns summary information instead with a result items preview of the full dataset
 * to prevent overwhelming responses. The actual data can be retrieved using the get-actor-output tool.
 *
 * It requires the `APIFY_TOKEN` environment variable to be set.
 * If the `APIFY_IS_AT_HOME` the dataset items are pushed to the Apify dataset.
 *
 * @returns {Promise<CallActorGetDatasetResult | null>} - A promise that resolves to an object containing the actor run and dataset items.
 * @throws {Error} - Throws an error if the `APIFY_TOKEN` is not set
 * @param options
 */
export declare function callActorGetDataset(options: {
    actorName: string;
    input: unknown;
    apifyClient: ApifyClient;
    callOptions?: ActorCallOptions;
    progressTracker?: ProgressTracker | null;
    abortSignal?: AbortSignal;
    previewOutput?: boolean;
    mcpSessionId?: string;
}): Promise<CallActorGetDatasetResult | null>;
//# sourceMappingURL=actor_execution.d.ts.map