UNPKG

@aws-northstar/ui

Version:
11 lines (10 loc) 389 B
import fetch from 'cross-fetch'; import { Provider, AwsCredentialIdentity } from '@aws-sdk/types'; type SignedFetcherInit = { service: string; region?: string; credentials: AwsCredentialIdentity | Provider<AwsCredentialIdentity>; }; type CreateSignedFetcher = (init: SignedFetcherInit) => typeof fetch; export declare const createSignedFetcher: CreateSignedFetcher; export {};