import { ITelegramClient } from '../../client.types.js';
import { SentCode } from '../../types/auth/sent-code.js';
/**
 * Re-send the confirmation code using a different type.
 *
 * The type of the code to be re-sent is specified in the `nextType` attribute of
 * {@link SentCode} object returned by {@link sendCode}
 */
export declare function resendCode(client: ITelegramClient, params: {
    /** Phone number in international format */
    phone: string;
    /** Confirmation code identifier from {@link SentCode} */
    phoneCodeHash: string;
    /** Abort signal */
    abortSignal?: AbortSignal;
}): Promise<SentCode>;
