declare enum Position { bottomRight = "bottom-right", bottomLeft = "bottom-left", topRight = "top-right", topLeft = "top-left" } type CreatePhantomConfig = Partial<{ zIndex: number; hideLauncherBeforeOnboarded: boolean; colorScheme: string; paddingBottom: number; paddingRight: number; paddingTop: number; paddingLeft: number; position: Position; sdkURL: string; element: string; namespace: string; skipInjection: boolean; }>; interface Phantom { show: () => void; hide: () => void; buy: (options: { amount?: string; buy: string; }) => void; swap: (options: { buy: string; sell?: string; amount?: string; }) => void; navigate: ({ route, params }: { route: string; params?: any; }) => void; solana?: any; ethereum?: any; sui?: any; bitcoin?: any; app: PhantomApp; } interface PhantomApp { buy: (options: { buy: string; amount?: string; }) => void; swap: (options: { buy: string; sell?: string; amount?: string; }) => void; navigate: ({ route, params }: { route: string; params?: any; }) => void; } declare function createPhantom(config?: CreatePhantomConfig): Promise; export { CreatePhantomConfig, Phantom, PhantomApp, Position, createPhantom };