import { JSX } from 'react';
declare const roleList: readonly ["owner", "admin", "member", "guest"];
export interface SessionPermissionProps {
    session: Record<string, any>;
    roles?: (typeof roleList)[number][];
    children: ((props: {
        hasPermission: boolean;
    }) => JSX.Element | null) | JSX.Element;
}
export default function SessionPermission({ session, roles, children }: SessionPermissionProps): JSX.Element | null;
export {};
