This commit is contained in:
RochesterX
2025-11-12 10:13:24 -05:00
parent d5b0f97adb
commit 6e820464d5
9761 changed files with 706938 additions and 0 deletions

18
node_modules/tedious/lib/connector.d.ts generated vendored Normal file
View File

@@ -0,0 +1,18 @@
import net from 'net';
import dns from 'dns';
type LookupFunction = (hostname: string, options: dns.LookupAllOptions, callback: (err: NodeJS.ErrnoException | null, addresses: dns.LookupAddress[]) => void) => void;
export declare function connectInParallel(options: {
host: string;
port: number;
localAddress?: string | undefined;
}, lookup: LookupFunction, signal: AbortSignal): Promise<net.Socket>;
export declare function connectInSequence(options: {
host: string;
port: number;
localAddress?: string | undefined;
}, lookup: LookupFunction, signal: AbortSignal): Promise<net.Socket>;
/**
* Look up all addresses for the given hostname.
*/
export declare function lookupAllAddresses(host: string, lookup: LookupFunction, signal: AbortSignal): Promise<dns.LookupAddress[]>;
export {};