import type { CommandResponse } from '../../client/client.type.js'; import { type CreateTokenResponse } from './token.utils.js'; /** * Parameters for the create access token command. */ export type CreateToken = { /** Token name (1-255 bytes) */ name: string; /** Token expiry time in seconds (default: 600) */ expiry?: bigint; }; /** * Create access token command definition. * Creates a new access token for authentication. */ export declare const CREATE_TOKEN: { code: number; serialize: ({ name, expiry }: CreateToken) => Buffer; deserialize: (r: CommandResponse) => CreateTokenResponse; }; /** * Executable create access token command function. */ export declare const createToken: (getClient: import("../../client/client.type.js").ClientProvider) => (arg: CreateToken) => Promise; //# sourceMappingURL=create-token.command.d.ts.map