import type { KeySource } from '../types.mjs'; export type ToKeySourceArgs = { /** 디버그/UI 라벨. 도구가 사용할 수 있도록 반환되는 소스에 저장된다. */ type?: string; getPublicKey: KeySource['getPublicKey']; signMessage: KeySource['signMessage']; signKeyBind?: KeySource['signKeyBind']; }; /** * 호출자가 제공한 콜백으로 KeySource 를 만든다. keystore 기반 지갑, * 하드웨어 지갑, 외부 지갑 앱이 통합되는 진입점 — 라이브러리는 secret key * 를 보지 않는다. */ export declare function toKeySource(args: ToKeySourceArgs): KeySource;