Declaration merging in TypeScript allows multiple declarations for the same name to be combined into a single definition. It is useful when extending interfaces, adding properties to classes, or merging namespaces.