/** * Represents authentication tokens containing an access token and additional headers. * * @typedef {Object} AuthTokens * @property {string} accessToken - The access token for authorization. * @property {Object.} headers - Additional headers to include in the request. * * @example * ```ts * const authTokens: AuthTokens = { * accessToken: 'your_access_token', * headers: { * 'Custom-Header': 'value', * // other headers... * }, * } * * // Usage in an HTTP request * const requestOptions: RequestOptions = { * headers: { ...authTokens.headers, Authorization: `Bearer ${authTokens.accessToken}` }, * // other request options... * } * ``` */ export type AuthTokens = { accessToken: string; headers: { [key: string]: string; }; };