/** * @license * Copyright Stbui All Rights Reserved. * https://github.com/stbui */ import { ResourceDefinition } from '../types'; export declare const REGISTER_RESOURCE = "REGISTER_RESOURCE"; export declare const UNREGISTER_RESOURCE = "UNREGISTER_RESOURCE"; export interface RegisterResourceAction { readonly type: typeof REGISTER_RESOURCE; readonly payload: ResourceDefinition; } export declare const registerResource: (resource: ResourceDefinition) => { type: string; payload: ResourceDefinition; }; export interface UnregisterResourceAction { readonly type: typeof UNREGISTER_RESOURCE; readonly payload: string; } export declare const unregisterResource: (resourceName: string) => { type: string; payload: string; };