import { Policy, Role } from './types';
export default class Keto {
    ketoBaseUrl: string;
    constructor(ketoBaseUrl?: string);
    createPolicy(policy: Policy): Promise<Policy>;
    getPolicies(): Promise<Policy[]>;
    getPolicy(policyId: string): Promise<Policy>;
    updatePolicy(policyId: string, policy: Policy): Promise<null>;
    deletePolicy(policyId: string): Promise<null>;
    createRole(role: Role): Promise<Role>;
    getRoles(): Promise<Role[]>;
    getRole(roleId: string): Promise<Role>;
    updateRole(roleId: string, role: Role): Promise<null>;
    deleteRole(roleId: string): Promise<null>;
    authorizeSubject(subject: string, action: string, resource: string, context?: object): Promise<boolean>;
}
export * from './types';
//# sourceMappingURL=index.d.ts.map