UNPKG

583 BTypeScriptView Raw
1import { CustomUserAgentDetails, Framework } from './types';
2import { UserAgent as AWSUserAgent } from '@aws-sdk/types';
3declare class PlatformBuilder {
4 userAgent: string;
5 get framework(): Framework;
6 get isReactNative(): boolean;
7 observeFrameworkChanges(fcn: () => void): void;
8}
9export declare const Platform: PlatformBuilder;
10export declare const getAmplifyUserAgentObject: ({ category, action, framework, }?: CustomUserAgentDetails) => AWSUserAgent;
11export declare const getAmplifyUserAgent: (customUserAgentDetails?: CustomUserAgentDetails) => string;
12export {};