import type { FetchFunction, Logger, SSCrypto } from '@seald-io/sdk/lib/main'; export type KeyStorePasswordArguments = { fetch: FetchFunction; keyStorageURL: string; sscrypto: SSCrypto; scrypt: (buff: Buffer, salt: Buffer) => Promise; log: Logger; appId: string; version: string; }; /** * Internal interface to the SSKS API. * * **WARNING: Do not use directly**. */ export type KeyStorePassword = { extraHeaders: Record; push: (args: { userId: string; password?: string; rawStorageKey?: string; rawEncryptionKey?: string; data: Buffer; }) => Promise; search: (args: { userId: string; password?: string; rawStorageKey?: string; rawEncryptionKey?: string; }) => Promise; }; declare const _default: ({ fetch, keyStorageURL, sscrypto, scrypt, log, appId, version }: KeyStorePasswordArguments) => KeyStorePassword; export default _default;