@particle-network/auth-connectors
Version:
16 lines (15 loc) • 632 B
TypeScript
import type { EVMProvider, SolanaWallet } from '@particle-network/authkit';
declare const auth: {
getCloudflareTurnstileResponse: (options?: import("@particle-network/auth-core").CloudflareOptions | undefined) => Promise<string>;
getConnectCaptcha: (param: import("@particle-network/auth-core").CaptchaRequest) => Promise<boolean>;
getLatestAuthType: () => import("@particle-network/auth-core").AuthType | null;
};
declare global {
interface Window {
particle?: {
ethereum?: EVMProvider;
solana?: SolanaWallet;
};
}
}
export { auth, type EVMProvider, type SolanaWallet };