export default class VelociousDatabaseDriversSqliteNode extends Base {
    /**
     * Connection.
      @type {import("sqlite3").Database | undefined} */
    connection: import("sqlite3").Database | undefined;
    /**
     * Advisory lock directory.
      @type {string | undefined} */
    _advisoryLockDirectory: string | undefined;
    localStorageName(): string;
    /**
     * Runs resolve advisory lock directory.
      @returns {string} */
    _resolveAdvisoryLockDirectory(): string;
    /**
     * Runs advisory lock path.
     * @param {string} name - Lock name.
     * @returns {string}
     */
    _advisoryLockPath(name: string): string;
    /**
     * Runs ensure advisory lock directory.
      @returns {Promise<void>} */
    _ensureAdvisoryLockDirectory(): Promise<void>;
    /**
     * Runs write advisory lock metadata.
     * @param {string} lockDirPath - Absolute path of the lock directory.
     * @returns {Promise<void>}
     */
    _writeAdvisoryLockMetadata(lockDirPath: string): Promise<void>;
    /**
     * Runs acquire advisory lock file.
     * @param {string} name - Lock name.
     * @param {{timeoutMs?: number | null}} args - Timeout args.
     * @returns {Promise<boolean>}
     */
    _acquireAdvisoryLockFile(name: string, { timeoutMs }: {
        timeoutMs?: number | null;
    }): Promise<boolean>;
    /**
     * Runs try acquire advisory lock file.
     * @param {string} name - Lock name.
     * @returns {Promise<boolean>}
     */
    _tryAcquireAdvisoryLockFile(name: string): Promise<boolean>;
    /**
     * Runs release advisory lock file.
     * @param {string} name - Lock name.
     * @returns {Promise<void>}
     */
    _releaseAdvisoryLockFile(name: string): Promise<void>;
    /**
     * Runs is advisory lock file held.
     * @param {string} name - Lock name.
     * @returns {Promise<boolean>}
     */
    _isAdvisoryLockFileHeld(name: string): Promise<boolean>;
    /**
     * A lock directory is considered stale when its owner metadata names a
     * PID on this host that is no longer running. Cross-host ownership (a
     * different `hostname`) is treated as live because we cannot reliably
     * probe a PID on another machine; operators in that situation should
     * remove stale lock directories by hand if they linger.
     * @param {string} lockPath - Absolute path of the lock directory.
     * @returns {Promise<boolean>}
     */
    _isAdvisoryLockStale(lockPath: string): Promise<boolean>;
}
import Base from "./base.js";
//# sourceMappingURL=index.d.ts.map