import type { ESTree } from "meriyah";
import { type SourceArrayLocation } from "./utils/toArrayLocation.ts";
import { CollectableSetRegistry } from "./CollectableSetRegistry.ts";
type Options = {
    collectableSetRegistry: CollectableSetRegistry;
    file?: string | null;
    location?: ESTree.SourceLocation;
    metadata?: Record<string, unknown>;
};
export type ShadyLinkResult = {
    safe: boolean;
    isLocalAddress?: boolean;
};
export declare class ShadyLink {
    #private;
    static isURLSafe(input: string, options: Options): ShadyLinkResult;
    static isValidIPAddress(input: string): boolean;
    static isIpAddressSafe(input: string, options: Omit<Options, "location"> & {
        location?: SourceArrayLocation | ESTree.SourceLocation;
    }): ShadyLinkResult;
}
export {};
//# sourceMappingURL=ShadyLink.d.ts.map