import { FieldValue } from 'firebase/firestore';
export interface AppConfigInterface {
    appId: string;
    themeId: string;
    accentColor: string;
    accentForegroundColor: string;
    siwe: boolean;
    social: boolean;
    wallets: string[];
    chains: string[];
    compact: boolean;
    askUserInformation: boolean;
    userEmail: string;
    domains: string[];
    createdAt: string;
}
export interface UserInfoInterface {
    name: string;
    email: string;
    cancelled?: boolean;
}
export declare enum EVENT_TYPE {
    CONNECTED = "connected",
    DISCONNECTED = "disconnected"
}
export interface EventInterface {
    id: string;
    createdAt: FieldValue;
    address: string;
    type: EVENT_TYPE;
}
export declare const getAppInfo: (appId: string) => Promise<AppConfigInterface>;
export declare const getUserInfo: ({ address, appId, }: {
    appId: string;
    address: string;
}) => Promise<UserInfoInterface | null>;
export declare const setUserInfo: ({ address, appId, userInfo, }: {
    appId: string;
    address: string;
    userInfo: Partial<UserInfoInterface>;
}) => Promise<Partial<UserInfoInterface>>;
export declare const addEvent: ({ address, appId, eventType, }: {
    appId: string;
    address: string;
    eventType: EVENT_TYPE;
}) => Promise<EventInterface>;
