import { type Aptos, type PublicKey, type Signature } from "@aptos-labs/ts-sdk";
import type { AptosSignInInput, AptosSignInBoundFields } from "@aptos-labs/wallet-standard";
import type { VerificationError } from "../types.js";
export type VerificationFullMessageError = "invalid_full_message";
type LegacyVerificationError = VerificationError | VerificationFullMessageError;
export type LegacyVerificationResult<T> = {
    valid: true;
    data: T;
} | {
    valid: false;
    errors: LegacyVerificationError[];
};
export declare const createLegacySignInMessage: (input: AptosSignInInput & AptosSignInBoundFields) => string;
export declare const verifyLegacySignIn: (input: AptosSignInInput & AptosSignInBoundFields, output: {
    publicKey: PublicKey;
    signature: Signature;
    message: string;
}, options?: {
    aptos?: Aptos;
}) => Promise<LegacyVerificationResult<AptosSignInInput & AptosSignInBoundFields>>;
export {};
//# sourceMappingURL=core.d.ts.map