/**
 * @public
 */
export type PermissionResourceRef<TResource = unknown, TQuery = unknown, TResourceType extends string = string, TPluginId extends string = string> = {
    readonly $$type: '@backstage/PermissionResourceRef';
    readonly pluginId: TPluginId;
    readonly resourceType: TResourceType;
    readonly TQuery: TQuery;
    readonly TResource: TResource;
};
/**
 * @public
 */
export declare function createPermissionResourceRef<TResource, TQuery>(): {
    with<TPluginId extends string, TResourceType extends string>(options: {
        pluginId: TPluginId;
        resourceType: TResourceType;
    }): PermissionResourceRef<TResource, TQuery, TResourceType, TPluginId>;
};
