/**
 * ```js
 * import { getInvitation } from '@amityco/ts-sdk'
 * const { invitation } = await getInvitation(targetType, targetId)
 * ```
 *
 * Get a {@link Amity.Invitation} object
 *
 * @param targetType The type of the target of the {@link Amity.Invitation}
 * @param targetId The ID of the target of the {@link Amity.Invitation}
 * @returns A {@link Amity.Invitation} object
 *
 * @category Invitation API
 * @async
 */
export declare const getInvitation: (params: Pick<Amity.QueryMyInvitations, 'targetId' | 'targetType' | 'type' | 'statuses'>) => Promise<Amity.Cached<Amity.Invitation | undefined>>;
//# sourceMappingURL=getInvitation.d.ts.map