UNPKG

@design-sdk/figma-oauth

Version:
14 lines (13 loc) 592 B
/** * configure figma app in a global scope. * if you've already loaded env variables, without explicitely calling this method, * still the package will work with referenced variable **`FIGMA_APP_CLIENT_ID`** and **`FIGMA_APP_CLIENT_SECRET`** */ export declare function configure({ client_id, client_secret, redirect_uri, }: { client_id?: string; client_secret?: string; redirect_uri?: string; }): void; export declare function __cfg_get_client_id(): string; export declare function __cfg_get_client_secret(): string; export declare function __cfg_get_redirect_uri(): string;