import React, { PropsWithChildren, FC } from 'react';

declare const HasPermission: React.FC<PropsWithChildren<{
    slug: string;
    noPermissionCallback?: (redirect: boolean) => void;
}>>;

declare const Z0rathProvider: FC<PropsWithChildren<{
    apiKey: string;
    user?: string;
}>>;

type Z0rathContextType = {
    apiKey: string;
    user: string | null;
    setUser: (user: Z0rathContextType["user"]) => void;
};
declare const useZ0rath: () => Z0rathContextType;

export { HasPermission, Z0rathProvider, useZ0rath };
