/** Platform key matching `embedded-postgres`'s package suffixes (`darwin-arm64`, `linux-x64`, …). */
export declare function currentPlatformKey(): string;
/** Directory holding the platform-specific prebuilt pgvector library. */
export declare function prebuiltDir(platform?: string): string;
/** Whether a usable prebuilt pgvector artifact exists for the platform. */
export declare function hasPrebuilt(platform?: string): boolean;
/**
 * Resolve the `native` directory of the installed `@embedded-postgres/<platform>`
 * package (the one that holds `bin/`, `lib/`, `share/`). Throws with an
 * actionable message if the platform binary package isn't installed.
 */
export declare function resolveEmbeddedNativeDir(platform?: string): string;
/**
 * embedded-postgres' macOS native libs ship only as the fully-versioned
 * `lib<name>.<major>.<minor>.dylib`, but the Postgres binaries link against both
 * the major SONAME (`lib<name>.<major>.dylib`) and the unversioned linker name
 * (`lib<name>.dylib`, e.g. postgres' `@loader_path/../lib/libicui18n.dylib`) —
 * and the @embedded-postgres/darwin-* packages omit those symlinks. Without them
 * `initdb`/`postgres` abort with `Library not loaded`. Recreate both link levels
 * idempotently, pointing at the real versioned file. No-op off macOS (Linux ships
 * the `.so.<major>` links) and when a link already exists.
 */
export declare function ensureNativeLibSonames(nativeDir?: string): void;
/**
 * Copy the host platform's prebuilt pgvector files into an embedded-postgres
 * `native` tree so `CREATE EXTENSION vector` works, and hydrate the macOS ICU
 * SONAME symlinks so `initdb` can link. Idempotent — returns early if pgvector
 * is already present in the tree.
 *
 * @param nativeDir absolute path to `.../native`; defaults to the resolved
 *   host-platform `@embedded-postgres` package.
 */
export declare function injectPgvector(nativeDir?: string, platform?: string): void;
//# sourceMappingURL=index.d.ts.map