import { APIResource } from "../../core/resource.js"; import { APIPromise } from "../../core/api-promise.js"; import { RequestOptions } from "../../internal/request-options.js"; export declare class ThirdParty extends APIResource { /** * Get media file from third-party provider */ retrieve(provider: 'microsoft-sharepoint', params: ThirdPartyRetrieveParams, options?: RequestOptions): APIPromise; } export type ThirdPartyRetrieveResponse = unknown; export interface ThirdPartyRetrieveParams { /** * Query param: Drive ID */ drive_id: string; /** * Query param: Drive item ID */ item_id: string; /** * Query param: Organization ID */ organization_id: string; /** * Query param: HMAC signature for service-to-service access */ sig: string; /** * Header param */ 'Accept-Language'?: string; /** * Header param: Set to `structured` to receive errors in the structured envelope. * Omit it to keep the legacy error body. */ 'X-Error-Format'?: string; } export declare namespace ThirdParty { export { type ThirdPartyRetrieveResponse as ThirdPartyRetrieveResponse, type ThirdPartyRetrieveParams as ThirdPartyRetrieveParams, }; } //# sourceMappingURL=third-party.d.ts.map