import { ReactElement } from 'react';
export declare type THexKeyPair = {
    publicKey: string;
    secretKey: string;
};
export declare type TKeyPairResult = {
    seed: string;
    keyPair: THexKeyPair;
};
export declare type TUrlParseResult = {
    protocol: string;
    key: string;
    query: any;
};
export declare type TBasicProfile = {
    type: string;
    name: string;
};
export declare type TSetupParams = {
    primaryKey: Uint8Array | string;
    relays: string[];
};
export declare type TSetProfileParams = {
    name: string;
    basicProfile: TBasicProfile;
};
export declare type TSetProfileResult = {
    name: string;
    isNew: boolean;
    slashtag: string;
};
export declare type TSlashUrlResult = {
    loginSuccess: boolean;
    loginError?: Error;
};
declare type TSlashtagsProps = {
    onApiReady?: () => void;
    seed?: string;
    onKeyPair: (res: TKeyPairResult) => void;
    onKeyPairError: (e: Error) => void;
    setup: TSetupParams;
    onSetup: (res: boolean) => void;
    onSetupError: (e: Error) => void;
    url: string;
    onUrlParse: (res: TUrlParseResult) => void;
    onUrlParseError: (e: Error) => void;
    profile: TSetProfileParams;
    onProfileSet: (res: TSetProfileResult) => void;
    onProfileSetError: (e: Error) => void;
};
declare const _default: ({ onApiReady, seed, onKeyPair, onKeyPairError, setup, onSetup, onSetupError, url, onUrlParse, onUrlParseError, profile, onProfileSet, onProfileSetError }: TSlashtagsProps) => ReactElement;
export default _default;
