import type { ConfigManager } from '../../config/manager.js';
type NetworkRootConfig = Pick<ConfigManager, 'getControlPlaneConfigDir'>;
export declare function getGoodVibesRootDir(configManager: NetworkRootConfig): string;
export declare function getDefaultCertDirectory(configManager: NetworkRootConfig): string;
export declare function getDefaultInboundCertPaths(configManager: NetworkRootConfig): {
    readonly certFile: string;
    readonly keyFile: string;
};
export declare function resolvePathFromGoodVibesRoot(value: string | null | undefined, configManager: NetworkRootConfig): string | null;
export declare function readPemEntriesFromDirectory(path: string): string[];
export declare function isLocalHostname(hostname: string): boolean;
export declare function extractForwardedClientIp(req: Request, trustProxy: boolean): string | undefined;
export declare function inspectPrivateKeyPermissions(path: string): {
    readonly available: boolean;
    readonly safe?: boolean;
    readonly mode?: string;
};
export {};
//# sourceMappingURL=shared.d.ts.map