import { tl } from '../../../tl/index.js';
import { MaybeArray } from '../../../types/utils.js';
import { ITelegramClient } from '../../client.types.js';
import { InputPeerLike, Chat } from '../../types/index.js';
export interface CreateGroupResult {
    /** Chat that was created */
    chat: Chat;
    /** Users that were failed to be invited */
    missing: tl.RawMissingInvitee[];
}
/**
 * Create a legacy group chat
 *
 * If you want to create a supergroup, use {@link createSupergroup}
 * instead.
 */
export declare function createGroup(client: ITelegramClient, params: {
    /**
     * Group title
     */
    title: string;
    /**
     * User(s) to be invited in the group (ID(s), username(s) or phone number(s)).
     * Due to Telegram limitations, you can't create a legacy group with just yourself.
     */
    users: MaybeArray<InputPeerLike>;
    /**
     * TTL period (in seconds) for the newly created chat
     *
     * @default 0 (i.e. messages don't expire)
     */
    ttlPeriod?: number;
}): Promise<CreateGroupResult>;
