/// <reference types="react" />
import { Channel, ChannelAccount } from "./types";
type AccountProps = Omit<ChannelAccount, "channel" | "switchActive" | "isLinked" | "subAccount">;
interface Props {
    channel: Channel;
    accounts: Array<ChannelAccount>;
    connectedEmail: string;
    onAddAccount?: () => void;
    onAddSubAccount?: () => void;
    onLogin: () => void;
    onLink?: () => void;
    onSelect?: (params: AccountProps & {
        active: boolean;
    }) => void;
    texts: {
        addAccount: string;
        connect: string;
        changeAccount: string;
        link: string;
        warningTooltip: string;
        addSubAccount: string;
    };
    isLoading?: boolean;
    initialOpen?: boolean;
}
declare function PlatformAccounts({ channel, accounts, connectedEmail, onAddAccount, onAddSubAccount, onLogin, onLink, onSelect, texts, isLoading, initialOpen, }: Props): JSX.Element;
export default PlatformAccounts;
