import type { BlueprintCorsOriginResource, BlueprintDatasetResource, BlueprintDocumentWebhookResource, BlueprintResource, BlueprintRobotResource, BlueprintRoleResource, BlueprintStudioResource } from '@sanity/blueprints';
import type { TreeInput } from 'array-treeify';
export declare function arrayifyCors(resource: BlueprintCorsOriginResource): TreeInput;
export declare function arrayifyDataset(resource: BlueprintDatasetResource): TreeInput;
export declare function arrayifyFunction(fn: BlueprintResource): TreeInput;
export declare function arrayifyRobot(resource: BlueprintRobotResource): TreeInput;
export declare function arrayifyRole(resource: BlueprintRoleResource): TreeInput;
/**
 * Hostname label of a Studio: the resolved `appHost` when present, else the authored `slug`.
 * undefined when a `$.resources` reference
 */
export declare function studioHost(params: Record<string, unknown>): string | undefined;
export declare function studioUrl(host: string): string;
export declare function arrayifyStudio(resource: BlueprintStudioResource): TreeInput;
export declare function arrayifyWebhook(resource: BlueprintDocumentWebhookResource): TreeInput;
