import { type AuthToken } from 'neo4j-driver';
export type Neo4JAuthOpts = Neo4JBasicAuth | Neo4JKerberosAuth | Neo4JBearerAuth | Neo4JCustomAuth;
export interface Neo4JBasicAuth {
    type: 'basic';
    username: string;
    password: string;
    realm?: string;
}
export interface Neo4JKerberosAuth {
    type: 'kerberos';
    base64EncodedTicket: string;
}
export interface Neo4JBearerAuth {
    type: 'bearer';
    base64EncodedToken: string;
}
export interface Neo4JCustomAuth {
    type: 'custom';
    principal: string;
    credentials: string;
    realm: string;
    scheme: string;
    parameters?: any;
}
export declare function getAuthFromOpts(authOpts: Neo4JAuthOpts | null | undefined): AuthToken;
