import type { DeleteResourceInput } from "@stigmer/sdk";
import type { PlatformClient } from "@stigmer/protos/ai/stigmer/iam/platformclient/v1/api_pb";
/** Return value of {@link useDeletePlatformClient}. */
export interface UseDeletePlatformClientReturn {
    /** Delete a platform client. Resolves with the deleted resource for confirmation display. */
    readonly deletePlatformClient: (input: DeleteResourceInput) => Promise<PlatformClient>;
    /** `true` while the delete request is in flight. */
    readonly isDeleting: boolean;
    /** Error from the last failed delete, or `null` when healthy. */
    readonly error: Error | null;
    /** Reset `error` to `null`. */
    readonly clearError: () => void;
}
/**
 * Mutation hook that wraps `platformclient.delete()` with loading
 * and error state.
 *
 * Deletes a platform client by its resource ID. Returns the deleted
 * {@link PlatformClient} on success so callers can confirm which
 * resource was removed.
 *
 * @example
 * ```tsx
 * const { deletePlatformClient, isDeleting, error } = useDeletePlatformClient();
 *
 * await deletePlatformClient({ resourceId: "pc-abc123" });
 * refetch(); // refresh the list after deletion
 * ```
 */
export declare function useDeletePlatformClient(): UseDeletePlatformClientReturn;
//# sourceMappingURL=useDeletePlatformClient.d.ts.map