export type BindingTypeMap = {
    D1Database: D1Database;
    KVNamespace: KVNamespace;
    DurableObjectNamespace: DurableObjectNamespace;
    R2Bucket: R2Bucket;
};
export type GetBindingType = keyof BindingTypeMap;
export type BindingMap<T extends GetBindingType> = {
    key: string;
    value: BindingTypeMap[T];
};
export declare function getBindings<T extends GetBindingType>(env: any, type: T): BindingMap<T>[];
export declare function getBinding<T extends GetBindingType>(env: any, type: T): BindingMap<T>;
