import type { CommandResponse } from '../../client/client.type.js'; import { type LoginResponse } from './login.utils.js'; /** * Parameters for the login with token command. */ export type LoginWithTokenParam = { /** Access token string (1-255 bytes) */ token: string; }; /** * Login with token command definition. * Authenticates a user with an access token. */ export declare const LOGIN_WITH_TOKEN: { code: number; serialize: ({ token }: LoginWithTokenParam) => Buffer; deserialize: (r: CommandResponse) => { userId: number; }; }; /** * Executable login with token command function. */ export declare const loginWithToken: (getClient: import("../../client/client.type.js").ClientProvider) => (arg: LoginWithTokenParam) => Promise; //# sourceMappingURL=login-with-token.command.d.ts.map