import { JSX } from "react";
import { Room } from "matrix-js-sdk/src/matrix";
import { RoomPermalinkCreator } from "../../../utils/permalinks/Permalinks";
/**
 * Get the pinned event IDs from a room.
 * @param room
 */
export declare const usePinnedEvents: (room?: Room) => string[];
/**
 * Get the read pinned event IDs from a room.
 * @param room
 */
export declare const useReadPinnedEvents: (room?: Room) => Set<string>;
/**
 * List the pinned messages in a room inside a Card.
 */
interface PinnedMessagesCardProps {
    /**
     * The room to list the pinned messages for.
     */
    room: Room;
    /**
     * Permalink of the room.
     */
    permalinkCreator: RoomPermalinkCreator;
    /**
     * Callback for when the card is closed.
     */
    onClose(): void;
}
export declare function PinnedMessagesCard({ room, onClose, permalinkCreator }: PinnedMessagesCardProps): JSX.Element;
export {};
