import { HttpErrorResultType } from "../requester/results/error/HttpErrorResult.mjs"; import { BasicRequestOptions } from "../requester/requests/requestOptions.mjs"; import { NoncompliantPodError } from "../requester/results/error/NoncompliantPodError.mjs"; import { GetWacRuleSuccess } from "./results/GetWacRuleSuccess.mjs"; import { WacRuleAbsent } from "./results/WacRuleAbsent.mjs"; import { SolidContainer } from "../resources/SolidContainer.mjs"; import { SolidLeaf } from "../resources/SolidLeaf.mjs"; import { UnexpectedResourceError } from "@ldo/connected"; //#region src/wac/getWacRule.d.ts type GetWacRuleError = HttpErrorResultType | NoncompliantPodError | UnexpectedResourceError; type GetWacRuleResult = GetWacRuleSuccess | GetWacRuleError | WacRuleAbsent; /** * Given the URI of an ACL document, return the Web Access Control (WAC) rules * @param aclUri: The URI for the ACL document * @param options: Options object to include an authenticated fetch function * @returns GetWacRuleResult */ declare function getWacRuleWithAclUri(aclUri: string, resource: SolidContainer, options?: BasicRequestOptions): Promise>; declare function getWacRuleWithAclUri(aclUri: string, resource: SolidLeaf, options?: BasicRequestOptions): Promise>; declare function getWacRuleWithAclUri(aclUri: string, resource: SolidLeaf | SolidContainer, options?: BasicRequestOptions): Promise>; //#endregion export { GetWacRuleError, GetWacRuleResult, getWacRuleWithAclUri }; //# sourceMappingURL=getWacRule.d.mts.map