import { tl } from '../../../tl/index.js';
import { ITelegramClient } from '../../client.types.js';
import { InputMediaLike, InputPeerLike, InputPrivacyRule, InputText, Story } from '../../types/index.js';
/**
 * Edit a sent story
 *
 * @returns  Edited story
 */
export declare function editStory(client: ITelegramClient, params: {
    /**
     * Story ID to edit
     */
    id: number;
    /**
     * Peer ID to whose story to edit
     *
     * @default  `self`
     */
    peer?: InputPeerLike;
    /**
     * Media contained in a story. Currently can only be a photo or a video.
     */
    media?: InputMediaLike;
    /**
     * Override caption for {@link media}
     */
    caption?: InputText;
    /**
     * Interactive elements to add to the story
     */
    interactiveElements?: tl.TypeMediaArea[];
    /**
     * Privacy rules to apply to the story
     *
     * @default  "Everyone"
     */
    privacyRules?: InputPrivacyRule[];
}): Promise<Story>;
