import type { Group } from "../types"; import { Pattern } from "./patterns"; export declare type GuardRule = { pattern: Pattern; allow: boolean; }; export declare function makeGuard(config: Group[]): { isIndexableBy: (path: string, userAgent?: string | null | undefined) => GuardRule | undefined; isAllowedBy: (path: string, userAgent?: string | null | undefined) => GuardRule | undefined; isDisallowAll: (userAgent: string | undefined | null) => boolean; };