import { SignInputOptions } from '../types';
/**
 * Resolve the tweak-signer flag from SignInputOptions.
 *
 * Precedence: `useTweakedSigner` wins when both fields are set. Matches the
 * resolution order used by upstream wallet implementations (e.g. UniSat's
 * keyring). Returns `undefined` when neither field is provided so the wallet
 * can apply its default.
 */
export declare function resolveUseTweakedSigner(input: {
    useTweakedSigner?: boolean;
    disableTweakSigner?: boolean;
}): boolean | undefined;
/**
 * Maps our standard SignInputOptions format to the wallet provider's toSignInputs format.
 * This is used by wallets that follow the OKX/OneKey API convention.
 *
 * Forwards both `useTweakedSigner` and `disableTweakSigner` in sync so older
 * wallet versions that only understand `disableTweakSigner` and newer versions
 * that understand `useTweakedSigner` both receive a consistent instruction.
 *
 * @param signInputs - Array of sign input configurations
 * @returns Array of inputs in toSignInputs format
 */
export declare function mapSignInputsToToSignInputs(signInputs: SignInputOptions[]): {
    useTweakedSigner?: boolean | undefined;
    disableTweakSigner?: boolean | undefined;
    index: number;
    publicKey: string | undefined;
    address: string | undefined;
    sighashTypes: number[] | undefined;
}[];
