#!/usr/bin/env bun import type { TypedQueryClient } from "../generated/storage-kit/query.js"; import { ProjectsPgStore } from "./pg-store.js"; import { type ContactsHttpProjectMembershipAuthority } from "../lib/contacts-authority-adapter.js"; import { type ProductionProjectRegistrationAuthorityOptions } from "../lib/production-project-registration-authorities.js"; export declare function getPackageVersion(): string; /** * Classify early-exit arguments before any environment-bound work (database * URL, signing secret) runs. --help and --version must answer with no * configured database URL (binds-before-args class, O15-00084). */ export declare function handleEarlyArgs(argv: string[]): "help" | "version" | "start"; export declare function printHelp(): void; /** Resolve the PostgreSQL connection string from the fleet-standard envs. */ export declare function resolveDatabaseUrl(env?: NodeJS.ProcessEnv): string; /** Resolve the HMAC signing secret for API-key verification. */ export declare function resolveSigningSecret(env?: NodeJS.ProcessEnv): string; export declare function resolvePort(argv: string[], env?: NodeJS.ProcessEnv): number; export declare function resolveContactsAuthority(env?: NodeJS.ProcessEnv): ContactsHttpProjectMembershipAuthority | undefined; export interface CreateProjectsPgStoreOptions { producerAuthorityOptions?: ProductionProjectRegistrationAuthorityOptions; producerVerifierNow?: () => string; } export declare function createProjectsPgStore(client: TypedQueryClient, options?: CreateProjectsPgStoreOptions): ProjectsPgStore; //# sourceMappingURL=index.d.ts.map