/** * Show card command payload definition. */ type ShowCard = { /** * Card id. */ id?: string; /** * Card shortlink (can be with or without the "https://trello.com/c/" prefix). */ shortlink?: string; /** * Source identifier for x-callback-url. */ xSource?: string; }; /** * Links to a card. * * @param payload Show card command payload. * @returns Trello show card URL. * @example * showCard({ * id: '526e7338ffa7dfb94d0084a6', * }) * // => 'trello://x-callback-url/showCard?id=526e7338ffa7dfb94d0084a6' * @example * showCard({ * shortlink: 'abc123', * xSource: 'MyTestApp', * }) * // => 'trello://x-callback-url/showCard?shortlink=abc123&x-source=MyTestApp' * @link https://support.atlassian.com/trello/docs/automate-with-url-scheme/ */ export declare function showCard(payload?: ShowCard): string; export {};