/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import type { Endpoint } from "#endpoint/Endpoint.js";
import type { Agent } from "#endpoint/index.js";
import type { SupportedElements } from "#endpoint/properties/Behaviors.js";
import { ImplementationError, MaybePromise } from "#general";
import { Behavior } from "../Behavior.js";
import { Datasource } from "../state/managed/Datasource.js";
import { BehaviorBacking } from "./BehaviorBacking.js";
export declare class FeatureMismatchError extends ImplementationError {
}
/**
 * This class backs the server implementation of a behavior.
 */
export declare class ServerBehaviorBacking extends BehaviorBacking {
    #private;
    constructor(endpoint: Endpoint, type: Behavior.Type, store: Datasource.Store, options?: Behavior.Options);
    get elements(): SupportedElements | undefined;
    protected invokeInitializer(behavior: Behavior, options?: Behavior.Options): PromiseLike<void> | undefined;
    protected get datasourceOptions(): Datasource.Options;
    close(agent?: Agent): MaybePromise;
}
//# sourceMappingURL=ServerBehaviorBacking.d.ts.map