import type { Adapter } from "lucia-auth";
import Surreal from "surrealdb.js";
type ConnectionOptions = ConstructorParameters<typeof Surreal>[1];
type Opts = {
    targets: {
        user?: string;
        session?: string;
        key?: string;
    };
};
type Args = {
    surreal: Surreal;
    opts?: Opts;
} | {
    uri: string;
    opts?: Opts & ConnectionOptions;
};
declare const adapter: (args: Args) => Adapter;
export default adapter;
