export type SysvSharedMemorySegment = {
    id: string;
    owner: string;
    creatorPid: number;
    lastOperatorPid: number;
};
export type CleanupStaleSysvSharedMemoryResult = {
    staleIds: string[];
    removedIds: string[];
    skippedIds: string[];
};
export declare function parseSysvSharedMemorySegments(output: string): SysvSharedMemorySegment[];
export declare function isEmbeddedPostgresSharedMemoryError(error: unknown, recentLogs?: string[]): boolean;
export declare function cleanupStaleSysvSharedMemorySegments(options?: {
    username?: string;
}): Promise<CleanupStaleSysvSharedMemoryResult>;
//# sourceMappingURL=embedded-postgres-recovery.d.ts.map