import type { ActionWithPayload } from './types'; declare type Creator
= (p: P) => ActionWithPayload
; declare type CreatorNoPayload = () => ActionWithPayload; export default function creator(type: string): CreatorNoPayload; export default function creator(type: string): Creator; export {};
(type: string): Creator
; export {};