import type { Snippet } from 'svelte'; import type { ChatRoomData } from '../../types.js'; export interface Props { /** Available chat rooms */ rooms: ChatRoomData[]; /** Currently selected room ID */ currentRoomId?: string; /** Current user's profile ID */ currentProfileId: string; /** Callback when a room is selected */ onselectroom: (roomId: string) => void; /** Callback to open the create-room affordance in the room list */ oncreateroom?: () => void; /** Main content slot */ children: Snippet; } declare const ChatLayout: import("svelte").Component; type ChatLayout = ReturnType; export default ChatLayout; //# sourceMappingURL=ChatLayout.svelte.d.ts.map