9 lines
357 B
TypeScript
9 lines
357 B
TypeScript
import { RequestConfig } from '../requestConfig';
|
|
export interface GetCodeConfigResponse {
|
|
result: {
|
|
type: 'short';
|
|
/** at the time of writing, this is always `9` for both devices */
|
|
length: number;
|
|
};
|
|
}
|
|
export declare function getCodeConfig(config: RequestConfig, device: 'ios' | 'android'): Promise<GetCodeConfigResponse>;
|