import { FetchJsonClient } from '@ariestools/sdk';
import { type Hash, type PromisableArray } from '@ariestools/sdk';
import type { NextOptions, Schema, Sequence } from '@xyo-network/sdk';
import type { DataLakeData, DataLakeViewer } from '@xyo-network/xl1-protocol/protocol-lib';
import { AbstractCreatableProvider, type CreatableProviderParams } from '../../CreatableProvider/index.js';
/** Parameters for AbstractRestDataLake. */
export interface AbstractRestDataLakeParams extends CreatableProviderParams {
    /** Payload schemas that the provider permits. */
    allowedSchemas?: Schema[];
    /** Payload schemas that the provider rejects. */
    disallowedSchemas?: Schema[];
    /** When omitted, resolved from `providerBindings` + a `rest` connection at startup. */
    endpoint?: string;
}
/** Abstract base class for RestDataLake implementations. */
export declare abstract class AbstractRestDataLake<TParams extends AbstractRestDataLakeParams = AbstractRestDataLakeParams> extends AbstractCreatableProvider<TParams> implements Omit<DataLakeViewer, 'moniker'> {
    /** Returns the allowed schemas result exposed by this provider. */
    get allowedSchemas(): Schema[] | undefined;
    /** Returns the client result exposed by this provider. */
    get client(): FetchJsonClient;
    /** Returns the disallowed schemas result exposed by this provider. */
    get disallowedSchemas(): Schema[] | undefined;
    /** Returns the endpoint result exposed by this provider. */
    get endpoint(): string;
    /** Returns the params handler result exposed by this provider. */
    static paramsHandler(params?: Partial<AbstractRestDataLakeParams>): Promise<{
        endpoint: string;
        context: import('../../index.js').CreatableProviderContextType;
        name?: import("@ariestools/sdk").CreatableName;
        statusReporter?: import("@ariestools/sdk").CreatableStatusReporter<void> | undefined;
        logger?: import("@ariestools/sdk").Logger;
        meterProvider?: import("@opentelemetry/api").MeterProvider;
        traceProvider?: import("@opentelemetry/api").TracerProvider;
    }>;
    /** Returns get. */
    get(hashes: Hash[]): Promise<DataLakeData[]>;
    /** Returns the next result exposed by this provider. */
    next(_options?: NextOptions<Sequence>): PromisableArray<DataLakeData>;
    protected getOne(hash: Hash): Promise<DataLakeData | undefined>;
    protected isAllowed(value: DataLakeData | undefined): boolean;
    protected isAllowedSchema(schema: Schema): boolean;
}
//# sourceMappingURL=AbstractRestDataLake.d.ts.map