import { EventEmitter } from '../../stencil.core'; import { GraphqlFetch, GraphqlError } from '../../utils/graphqlFetch'; export declare class ManifoldDataRenameButton { el: HTMLElement; /** _(hidden)_ */ graphqlFetch?: GraphqlFetch; ownerId?: string; /** The label of the resource to rename */ resourceLabel?: string; /** The new label to give to the resource */ newLabel?: string; /** The id of the resource to rename, will be fetched if not set */ resourceId?: string; loading?: boolean; disabled?: boolean; click: EventEmitter; invalid: EventEmitter; error: EventEmitter; success: EventEmitter; labelChange(newLabel: string): void; componentWillLoad(): void; rename(): Promise; fetchResourceId(resourceLabel: string): Promise; validate(input: string): boolean; reportErrors(errors: GraphqlError[]): void; render(): any; }