import { DatabaseService } from '@backstage/backend-plugin-api';
import { JsonValue } from '@backstage/types';
import { UserSettingsStore, type UserSetting } from './UserSettingsStore';
/**
 * @public
 */
export type RawDbUserSettingsRow = {
    user_entity_ref: string;
    bucket: string;
    key: string;
    value: string;
};
/**
 * Store to manage the user settings.
 *
 * @public
 */
export declare class DatabaseUserSettingsStore implements UserSettingsStore {
    private readonly db;
    static create(options: {
        database: DatabaseService;
    }): Promise<DatabaseUserSettingsStore>;
    private constructor();
    get(options: {
        userEntityRef: string;
        bucket: string;
        key: string;
    }): Promise<UserSetting>;
    set(options: {
        userEntityRef: string;
        bucket: string;
        key: string;
        value: JsonValue;
    }): Promise<void>;
    delete(options: {
        userEntityRef: string;
        bucket: string;
        key: string;
    }): Promise<void>;
}
