@apify/actors-mcp-server
Version:
Model Context Protocol Server for Apify
15 lines • 648 B
TypeScript
import type { Actor } from 'apify-client';
import type { ExtendedActorStoreList } from '../types.js';
/**
* Formats Actor details into an Actor card (Actor markdown representation).
* @param actor - Actor information from the API
* @returns Formatted actor card
*/
export declare function formatActorToActorCard(actor: Actor | ExtendedActorStoreList): string;
/**
* Formats a list of Actors into Actor cards
* @param actors - Array of Actor information
* @returns Formatted markdown string
*/
export declare function formatActorsListToActorCard(actors: (Actor | ExtendedActorStoreList)[]): string[];
//# sourceMappingURL=actor-card.d.ts.map