import type { BlueprintCorsOriginResource, BlueprintDatasetResource, BlueprintDocumentWebhookResource, BlueprintRoleResource } from '@sanity/blueprints';
import type { TreeInput } from 'array-treeify';
import { type FunctionResourceBase } from '../../utils/types.js';
export declare function arrayifyFunction(fn: FunctionResourceBase): TreeInput;
export declare function arrayifyCors(resource: BlueprintCorsOriginResource): TreeInput;
export declare function arrayifyRole(resource: BlueprintRoleResource): TreeInput;
export declare function arrayifyDataset(resource: BlueprintDatasetResource): TreeInput;
export declare function arrayifyWebhook(resource: BlueprintDocumentWebhookResource): TreeInput;
